Skip to content

ChimeraCoder/goangel

Repository files navigation

GoAngel

GoAngel is a simple Go client library for interfacing with the AngelList API. The results of API queries are deserialized into static structs for convenience, so that a successful API call should yield a predictable, known type with no need for type assertions.

The current release implements most endpoints, though it is not yet complete.

Installation

    > go get github.com/ChimeraCoder/goangel

Authentication

c := new(angel.AngelClient)
c.Client_id = "your-angel-client-id"
c.Client_secret = "your-angel-client-secret"

//You can now perform unauthenticated queries against the AngelList APi
//To perform authenticated queries (which includes any PUT/POST/DELETE queries)
//you need an access token

url := c.AuthorizeUri()

//Redirect users to url, and record the code sent in the callback

result, err := c.RequestAccessToken(code)

//You can now perform authenticated queries against the AngelList API

License

GoAngel is free software released under the MIT license.

About

A Go client library for the AngelList API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages