Code Monkey home page Code Monkey logo

go-hubspot's People

Contributors

kk-no avatar marcopollivier avatar moses-lee avatar sblackstone avatar sehbaz avatar shigwata avatar thenoakes avatar ttyfky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

go-hubspot's Issues

Add a document of how to add new domain in the client

What to do

Add a document of how to add new domain in the client

Background

When adding a new domain in client like below, gohubspot_test.go needs to be updated in unique way otherwise the tests will fail.

type Client struct {
       ...

	CRM       *CRM
	Marketing *Marketing // <- this
}

Acceptance criteria

Make how to add a domain clear.

Add the facility to update a contact by email rather than ID

Is your feature request related to a problem? Please describe.
At the moment if I want to update a contact I would need to know the contact hubspot ID where I would just like to use the contact email.

Describe the solution you'd like
Either improve on the current function to facilitate either option or an additional function to allow for this.

Private apps support

Is your feature request related to a problem? Please describe.
HubSpot added private apps (scoped api key) auth.
go-hubspot needs to support this as well.
https://developers.hubspot.com/docs/api/private-apps

Sample of the api call using private apps from HubSpot.

axios.get('https://api.hubapi.com/crm/v3/objects/contacts',
  {
    headers: {
      'Authorization': `Bearer ${YOUR_TOKEN}`,
      'Content-Type': 'application/json'
    }
  },
  (err, data) => {
    // Handle the API response
  }
);

Describe the solution you'd like
As with API key and OAuth, we should be able to pass private apps token to the client in the form of an Option.

Describe alternatives you've considered

Additional context
On another note, APIKey will be discontinued on November 30 2022.
https://developers.hubspot.com/changelog/upcoming-api-key-sunset

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.