Package napping
is a Go client library for interacting with
RESTful APIs. Napping was inspired by Python's excellent Requests
library.
Used by, and developed in conjunction with, Neoism.
Napping requires Go 1.2 or later.
go get github.com/jmcvetta/napping
Napping is versioned using gopkg.in
.
Current release is v1
.
go get gopkg.in/jmcvetta/napping.v1
See for automatically generated API documentation.
Check out github_auth_token for a working example showing how to retrieve an auth token from the Github API.
If you decide to use Napping in a production system please let me know. All API changes will be made via Pull Request, so it's highly recommended you Watch the repo Issues. The API is fairly stable but there may be additions and small changes from time to time.
Contributions in the form of Pull Requests or Issues are gladly accepted. Before submitting a Pull Request, please ensure your code passes all tests, and that your changes do not decrease test coverage. I.e. if you add new features, also add corresponding new tests.
When submitting an Issue, if possible please include a failing test case that demonstrates the problem.
This is Free Software, released under the terms of the GPL v3.