Added API to check if a Steem UserName is taken
From now, you can query the API /api/steemit/account/validate-user/ to retrieve the status of a steem account name.
For example:
curl -s -X POST "https://steemyy.com/api/steemit/account/validate-user/" -d "id=justyy"
This will return:
{"accountName":"justyy","result":"taken"}
If a username is invalid, e.g.
curl -s -X POST "https://steemyy.com/api/steemit/account/validate-user/" -d "id=123"
This will return:
{"accountName":"123","result":"Account name should start with a letter."}
Otherwise:
curl -s -X POST "https://steemyy.com/api/steemit/account/validate-user/" -d "id=justyy12345"
if a user account is not existent (meaning that it is available)
{"accountName":"justyy12345","result":"good"}
I hope this helps!
Steem On!~
If you like my work, please consider voting for me, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE
Alternatively, you could proxy to me if you are too lazy to vote!
Also: you can vote me at the tool I made: https://steemyy.com/witness-voting/?witness=justyy
I just just go and try something like that
https://steemd.com/@gotpeopleornot
Yes! the API is for easy use in the application e.g. account registration
This post has been rewarded by the Steem Community Curation Project. #communitycuration03
Thank you very much indeed!
Thank you for your work on Steem. 👍
VgA
Thanks!