项目作者: greatMonster11

项目描述 :
free random user api
高级语言: JavaScript
项目地址: git://github.com/greatMonster11/effective-octo-garbanzo.git
创建时间: 2019-11-04T15:43:15Z
项目社区:https://github.com/greatMonster11/effective-octo-garbanzo

开源协议:Other

下载


👷 worker Random User

A free random user generate api. Limited with 100.000 request per day.

index.js is the content of the Workers script.

Usgae

  1. GET https://random-user.npthanh.workers.dev/
  1. user: {
  2. id: 100,
  3. name: {
  4. _first: "Idaline",
  5. _last: "Gass"
  6. },
  7. email: "igass2r@freewebs.com",
  8. url_avatar: "https://robohash.org/repellendusblanditiisquia.bmp?size=50x50&set=set1",
  9. gender: "Female",
  10. location: {
  11. city: "Coronda",
  12. country: "Argentina"
  13. },
  14. contact: {
  15. phone: "+54 224 190 9266",
  16. bitcoin_address: "1CXYNZ8Sd6RrAwMn2AA7i6wKnXgeQS7vEk"
  17. }
  18. }

Development

Created using Cloudflare Workers


Install Wrangler to build

  • ❯ wrangler generate random.user https://github.com/greatMonster11/effective-octo-garbanzo
    • ❯ wrangler preview

License

MIT