Giter VIP home page Giter VIP logo

go-hubspot's People

Contributors

clarkmcc avatar erlendp 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

Watchers

 avatar  avatar  avatar

go-hubspot's Issues

400 when omitting the 'properties' field of FilterGroup

It looks like the properties field of FilterGroup is always present when using search API, but providing it as an empty array gives a 400 back from the API meaning we have to specify fields as a workaround. It's not a huge issue for me, but the API accepts omitting properties to return all, which is not possible on here.

does auth with api key work?

I'm getting 403 when using api key authentication.

I'm using the owners api to list all owners. I activated the debug mode and I get:

"Authentication credentials not found. This API supports both API Key and OAuth 2.0 authentication and you can find more details at https://developers.hubspot.com/docs/methods/auth/oauth-overview"

and I don't see my api key anywhere in the debug log

Blog Post API not supporting all the filters

I'm trying to use the GetPage API in the BlogPostsAPI, but it only supports the date-related criteria, while in the HubSpot documentation here, The document mentions we can filter all of the fields. Like language__eq=en, that results in blogs with only language=en.

Update to public package

First off: It's a very nice project. Thanks for providing it to others!

From the Hubspot API documentation, I saw (in comparison to what was archived around your commit last year via wayback machine/ internet archive) that there were quite some changes.

I tried to build a new set to add a PR to this repo, but I am not sure I understand your process completely. You seem to have various versions in the ./generated folder. What would be the target/ output dir for the next update? Here you can see the local Docker container with a volume mapping where <WHAT-FOLDER-NAME-HERE?> is the part that's not clear to me.

docker run --rm -v "${PWD}/generated/<WHAT-FOLDER-NAME-HERE?>:/local" openapitools/openapi-generator-cli generate \
    -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml \
    -g go \
    -o /local/out/go

If you can replicate the generation with the container above, I will add a README-extension with the PR as well.

Just a suggestion: Maybe the generation could be auto generated using GitHub actions using above image?

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.