Skip to content

codedge-llc/hubspotex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hubspot API wrapper in Elixir

Hex.pm Hex.pm Hex.pm Build Status

[Hex] [Docs]

Examples

Hubspot.Contacts.all
#=> %Hubspot.HTTP.Request{endpoint: "/contacts/v1/lists/all/contacts/all",
#     method: :get, query: [], body: ""}

Hubspot.Contacts.all |> Hubspot.request
#=> {:ok, response}

Hubspot.Contacts.all([count: 10, vidOffset: 100]) |> Hubspot.request
#=> {:ok, response}

Installation

If available in Hex, the package can be installed as:

  1. Add hubspotex to your list of dependencies in mix.exs:
def deps do
  [{:hubspotex, "~> 0.0.6"}]
end
  1. Configure environment variables:
config :hubspotex,
  auth_key: "YOUR_API_KEY",
  base_url: "https://api.hubapi.com",
  auth_method: "hapikey"

About

Hubspot Elixir API Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%