| 1 | // Package putio is the Put.io API v2 client for Go. |
| 2 | // |
| 3 | // The go-putio package does not directly handle authentication. Instead, when |
| 4 | // creating a new client, pass an http.Client that can handle authentication for |
| 5 | // you. The easiest and recommended way to do this is using the golang.org/x/oauth2 |
| 6 | // library, but you can always use any other library that provides an http.Client. |
| 7 | // |
| 8 | // Note that when using an authenticated Client, all calls made by the client will |
| 9 | // include the specified OAuth token. Therefore, authenticated clients should |
| 10 | // almost never be shared between different users. |
| 11 | package putio |