Simple REST service which uses Stepik REST API to get id of steps.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Python 3.5+
- aiohttp
- aiocache
Install required packages using pip:
pip install -r requirement.txt
To run this app on your local machine for testing purposes just run app.py file:
python3 app.py
If you want to run this app on server, change IP in app.py file:
web.run_app(app, host='0.0.0.0', port=8080)
Example: http://127.0.0.1:8080/lesson=1
Response body:
[
541,
1053,
92,
4,
443
]
- aiohttp - Asynchronous HTTP Client/Server
- aiocache - Asyncio cache framework for redis, memcached and memory
This project is licensed under the MIT License - see the LICENSE.md file for details