Skip to content

linkedin-inc/napping

 
 

Repository files navigation

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

Drone Build Status Travis Build Status Coverage Status

Used by, and developed in conjunction with, Neoism.

Installation

Requirements

Napping requires Go 1.2 or later.

Development

go get github.com/jmcvetta/napping

Stable

Napping is versioned using gopkg.in.

Current release is v1.1.

go get gopkg.in/jmcvetta/napping.v1

Documentation

See GoDoc 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.

Production Note

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.

Contributing

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.

License

This is Free Software, released under the terms of the GPL v3.

About

Golang HTTP client library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%