pombredanne / go-angellist

Go client for the AngelList API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-angellist

go-angellist is a Go client library for accessing the AngelList API.

NOTE: This is not a complete implementation. I needed to extract some Startup and User data so those are the only API calls available. If you would like to add functionality please submit a pull request.

Usage

import "github.com/bradrydzewski/go-angellist/angellist"

Construct a new AngelList client, then use the various services on the client to access different parts of the API. For example, to retrieve a User by id:

client := angellist.NewGuest()
user, err := client.Users.Get(206401)

The above example is executing the API calls as an anonymous user. Hoewver, some API calls require authentication. When creating a client you can provide your OAuth2 token:

client := angellist.New("62b1f3bc5dec16c8")

About

Go client for the AngelList API

License:BSD 2-Clause "Simplified" License


Languages

Language:Go 100.0%