closeio / closeio-api

Python API Client for Close
http://developer.close.com/
MIT License
65 stars 47 forks source link

Development server / api endpoint #94

Closed Ryman closed 6 years ago

Ryman commented 6 years ago

The library mentions using a development server but just refers to localhost, is there a specific local implementation anywhere that we can download and run with fake data or any ideas around implementing a test endpoint in the future at api.close.io?

philfreo commented 6 years ago

That setting is really just something our dev team uses internally when testing local development of Close.io. Unfortunately we don't have any short-term plans around exposing anything beyond this.

If you do want to test your API development outside of your company's main organization, you can email support@ and we can set you up with a separate organization (with its own API keys) where you can test your integration in more of a sandbox - but this still uses our production endpoint.

Perhaps something like this https://requests-mock.readthedocs.io/en/latest/ could also help if you're looking for a way to mock/test requests purely locally.