https://github.com/jmcvetta/napping
Golang HTTP client library
https://github.com/jmcvetta/napping
golang rest-client
Last synced: about 1 month ago
JSON representation
Golang HTTP client library
- Host: GitHub
- URL: https://github.com/jmcvetta/napping
- Owner: jmcvetta
- Created: 2012-11-30T20:49:52.000Z (over 12 years ago)
- Default Branch: develop
- Last Pushed: 2020-08-10T11:48:05.000Z (almost 5 years ago)
- Last Synced: 2024-09-27T12:47:35.271Z (8 months ago)
- Topics: golang, rest-client
- Language: Go
- Homepage:
- Size: 167 KB
- Stars: 288
- Watchers: 15
- Forks: 59
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-repos - jmcvetta/napping - Golang HTTP client library (Go)
README
# Napping: HTTP for Gophers
Package `napping` is a [Go][] client library for interacting with
[RESTful APIs][]. Napping was inspired by Python's excellent [Requests][]
library.## Status
| System | Status |
|-----------|:---------------------------------------------------------------------------------------------------------------------:|
| Travis CI | [](https://travis-ci.org/jmcvetta/napping) |
| CircleCI | [](https://circleci.com/gh/jmcvetta/napping) |
| Coveralls | [](https://coveralls.io/r/jmcvetta/napping) |
| Codecov | [](https://codecov.io/gh/jmcvetta/napping) |Used by, and developed in conjunction with, [Neoism][].
## Installation
### Requirements
Napping is [tested with Go 1.3 or later](https://github.com/jmcvetta/napping/blob/develop/.travis.yml#L2).
### Development
```
go get github.com/jmcvetta/napping
```### Stable
Napping is versioned using [`gopkg.in`](http://gopkg.in).
Current release is `v3`.
```
go get gopkg.in/jmcvetta/napping.v3
```## Documentation
See [](http://godoc.org/github.com/jmcvetta/napping)
for automatically generated API documentation.Check out [github_auth_token][auth-token] for a working example
showing how to retrieve an auth token from the Github API.## Support
Support and consulting services are available from [Silicon Beach Heavy
Industries](http://siliconheavy.com).## Contributing
Contributions in the form of Pull Requests are gladly accepted. Before
submitting a PR, 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.## License
This is Free Software, released under the terms of the [GPL v3][].
[Go]: http://golang.org
[RESTful APIs]: http://en.wikipedia.org/wiki/Representational_state_transfer#RESTful_web_APIs
[Requests]: http://python-requests.org
[GPL v3]: http://www.gnu.org/copyleft/gpl.html
[auth-token]: https://github.com/jmcvetta/napping/blob/master/examples/github_auth_token/github_auth_token.go
[Neoism]: https://github.com/jmcvetta/neoism