dolphin v0.1.0 Dolphin.Api.Endpoint

Summary

Functions

Make a GET call to the given link but using an OAuth2 bearer token. You must be authenticated before this call will be able to complete successfully

Make a POST call to the given link using the OAuth2 bearer that was created on authentication. You must be authenticated in order for this call to complete successfully

Make a get call to a given link and parse the flippa JSON response

Make a POST call to the given link and parse the JSON response

Functions

authorized_get(bearer, path)

Make a GET call to the given link but using an OAuth2 bearer token. You must be authenticated before this call will be able to complete successfully.

authorized_post(bearer, path, data, headers \\ [])

Make a POST call to the given link using the OAuth2 bearer that was created on authentication. You must be authenticated in order for this call to complete successfully

get(link)

Make a get call to a given link and parse the flippa JSON response

post(path, data, headers \\ [])

Make a POST call to the given link and parse the JSON response.

url()