https://github.com/jamesalbert/nimates
Client library for the Postmates API written in Nim
https://github.com/jamesalbert/nimates
Last synced: about 2 months ago
JSON representation
Client library for the Postmates API written in Nim
- Host: GitHub
- URL: https://github.com/jamesalbert/nimates
- Owner: jamesalbert
- License: apache-2.0
- Created: 2017-11-02T04:40:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-04T07:22:48.000Z (almost 9 years ago)
- Last Synced: 2025-02-28T21:50:39.626Z (over 1 year ago)
- Language: Nim
- Homepage: https://jamesalbert.github.io/nimates/nimates.html
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nimates
a client library for the Postmates API written in Nim
###### version: 0.0.1
## Credentials
You'll need to get your `customer_id` and `key` from Postmate's developer page.
Credentials are stored in a json file like so:
```json
{
"customer_id": "XXX_XXXXXXXXXX-XXX",
"key": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
}
```
Keep this file in the same directory as your script.
## Getting Started
Make sure you have `nim >= 0.17.2` with `nimble` installed as well.
You can clone this repo and run the example from the root directory with `nimble example`
Be sure to specify `-d:ssl` when compiling (I usually keep this in the .cfg file)
More documentation can be found at https://jamesalbert.github.io/nimates/nimates.html
Documentation for the Postmates API found at https://postmates.com/developer/docs
## Contributing
This is a brand-new module. If you find bugs or features that need to be added, PR away!
Recommended way of contributing:
- fork and clone the repo
- run `nimble develop`, this will symlink this repo to your .nimble directory (changes are instant; no need for running `nimble install` over and over...)
- test changes
- write and generate docs
- create a pr
## Tests
There are currently no tests :(