examples

command
v0.0.0-...-9878657 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2017 License: MIT Imports: 7 Imported by: 0

README

Examples

Digits API

A user grants a Digits consumer application access to his/her Digits resources (phone number, contacts). As a result, the application receives an OAuth1 access token and secret.

To make requests as an application, on behalf of the user, a client requires the application consumer key and secret and the user access token and secret.

export DIGITS_CONSUMER_KEY=xxx
export DIGITS_CONSUMER_SECRET=xxx
export DIGITS_ACCESS_TOKEN=xxx
export DIGITS_ACCESS_SECRET=xxx

Get the dependencies for the examples

cd examples
go get .

Accounts API

Get the current user's Digits Account and lookup matching contacts.

go run digits.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL