Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 967 Bytes

File metadata and controls

29 lines (25 loc) · 967 Bytes

Random Word Python API Using Flask


To use the demo please send a GET request to this URL:

http://easapi.pythonanywhere.com/api?api_key=Il3KG8LWRwtJ2bMFWT3bpvlMZS1vitJf8LhT95AIRtLDj6CkHLmQm7nnOorUWaqn7ASABJVtDpOsCAsKpZNtRVo3exppbpL99x5cstbYugMmK0FyUBJNjePULoty7YiX

To run your own server please follow the guide:

Linux/Windows:

  • Clone the repo
  • run pip install -r requirements.txt
  • start the api with python api.py

MacOS:

  • Clone the repo
  • run pip3 install -r requirements.txt
  • start the api with python3 api.py

To make a request to your own server please send it to this URL:

http://iporlocalhost/api?api_key=Il3KG8LWRwtJ2bMFWT3bpvlMZS1vitJf8LhT95AIRtLDj6CkHLmQm7nnOorUWaqn7ASABJVtDpOsCAsKpZNtRVo3exppbpL99x5cstbYugMmK0FyUBJNjePULoty7YiX

Replace iporlocalhost to your own IP or localhost address.


For more information please visit my blog:

https://blog.eason.fr.to