Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enricobacis/proxapy
Simple API proxy that uses Flask/requests/gunicorn
https://github.com/enricobacis/proxapy
Last synced: about 1 month ago
JSON representation
Simple API proxy that uses Flask/requests/gunicorn
- Host: GitHub
- URL: https://github.com/enricobacis/proxapy
- Owner: enricobacis
- License: mit
- Created: 2016-07-20T10:01:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T17:01:47.000Z (over 8 years ago)
- Last Synced: 2024-10-18T12:49:53.413Z (2 months ago)
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Proxapy
=======Simple API proxy that uses Flask/requests/gunicorn.
Use cases
---------- **Centralize API requests** - Sometimes only a specific IP can access
APIs. Run Proxapy on that machine and access the API from everywhere.- **Implement custom pre/post operation on API request/response** -
Fork the project, add routes and implement your changes. Common
changes include content filtering, add authentication key header not
known by the end user.Usage
-----1. Make sure you have `virtualenv`_
2. ``make run``
3. Visit ``http://:/`` to access
``http://``By default ```` is bound to ``0.0.0.0`` and ````
to ``5000``, so for example you could run Proxapy and then visit:
http://localhost:5000/api.left-pad.io/?str=proxied&len=20.. _virtualenv: https://virtualenv.pypa.io