operations |
comment | "parent_author":"",<br>"parent_permlink":"witness-category",<br>"author":"justyy",<br>"permlink":"added-api-to-check-if-a-steem-username-is-taken",<br>"title":"Added API to check if a Steem UserName is taken",<br>"body":"From now,<br> you can query the API *\/api\/steemit\/account\/validate-user\/* to retrieve the status of a steem account name.\n\nFor example:\n> curl -s -X POST \"https:\/\/steemyy.com\/api\/steemit\/account\/validate-user\/\" -d \"id=justyy\"\n\nThis will return:\n\n> \"accountName\":\"justyy\",<br>\"result\":\"taken\" \n\nIf a username is invalid,<br> e.g.\n\n> curl -s -X POST \"https:\/\/steemyy.com\/api\/steemit\/account\/validate-user\/\" -d \"id=123\"\n\nThis will return:\n\n> \"accountName\":\"123\",<br>\"result\":\"Account name should start with a letter.\" \n\nOtherwise:\n\n> curl -s -X POST \"https:\/\/steemyy.com\/api\/steemit\/account\/validate-user\/\" -d \"id=justyy12345\"\n\nif a user account is not existent (meaning that it is available)\n\n> \"accountName\":\"justyy12345\",<br>\"result\":\"good\" \n\n------------\n\nI hope this helps!\n\n**Steem On!~**\n------------------\n\nIf you like my work,<br> please consider voting for me,<br> thanks!\nhttps:\/\/steemit.com\/~witnesses type in **justyy** and click ***VOTE***\nhttps:\/\/steemyy.com\/images\/vote-for-justyy.jpg\n<BR\/>\n**Alternatively,<br> you could [proxy to me (https:\/\/steemyy.com\/witness-voting\/?witness=justyy&action=proxy) if you are too lazy to vote!**\n\nAlso: you can vote me at the tool I made: https:\/\/steemyy.com\/witness-voting\/?witness=justyy\n\n### Visit me at: [https:\/\/steemyy.com (https:\/\/steemyy.com)",<br>"json_metadata":" \"tags\":[\"witness-category\",<br>\"api\",<br>\"witness-update\",<br>\"steem-api\",<br>\"whalepower\",<br>\"programming\",<br>\"curl\" ,<br>\"image\":[\"https:\/\/steemyy.com\/images\/vote-for-justyy.jpg\" ,<br>\"links\":[\"https:\/\/steemyy.com\/api\/steemit\/account\/validate-user\/\",<br>\"https:\/\/steemit.com\/~witnesses\",<br>\"https:\/\/steemyy.com\/witness-voting\/?witness=justyy&action=proxy\",<br>\"https:\/\/steemyy.com\/witness-voting\/?witness=justyy\",<br>\"https:\/\/steemyy.com\" ,<br>\"app\":\"steemit\/0.2\",<br>\"format\":\"markdown\" " |
|