Git Product home page Git Product logo

hubspot.net's People

Contributors

avalanchis avatar cdmdotnet avatar clarkd avatar dwarner123 avatar jholt456 avatar lakesol avatar mark-rsk avatar nsp37 avatar staybfutrell avatar urtgard avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hubspot.net's Issues

Support for working with Tasks?

Hi,

Is adding support for working with Tasks planned voor the foreseeable future? If so, what's the projected timeframe for it to become availble?

TIA,
Lars

Release 1.1.0

How can I find the release 1.1.0 in Nuget package manager? When I download the package from nuget, I get a version 0.6.19.25 and I can't fount the 0Auth in it.

Support for HubSpot requiring migration to private apps

API Keys have been one of three authentication methods supported by HubSpot APIs. However, as part of ongoing efforts to protect our customer's data, we will be sunsetting API Keys.

As a result of this change, integrations will instead be required to work with Private Apps. Private Apps offer tighter security and allow more granular control over your integrations and account data than legacy API keys.

https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app

end of v2 Owner API in August 2024

See; https://developers.hubspot.com/changelog/sunset-v2-owners-api?utm_campaign=customer-marketing&utm_medium=email&utm_content=295220657&utm_source=hs_email

Upcoming Sunset: v2 Owners API
Announced: February 20, 2024
Live: August 30, 2024

On August 30, 2024, we will be sunsetting the v2 of the Owners API.

We encourage users to migrate to the v3 of the Owners API because all endpoints from https://api.hubapi.com/owners/v2 will be sunset and return a 404 error response message.

HubSpot Returns Error for Ticket Update

When attempting to update a ticket, HubSpot returns the following error:

Error from HubSpot, Response = {"status":"error","message":"Invalid input JSON on line 1, column 15: Cannot deserialize value of type java.util.LinkedHashMap<java.lang.String,java.lang.String>from Array value (tokenJsonToken.START_ARRAY)","correlationId":"33893cf5-ed13-408d-8333-6548122a84f2"}

Support pat keys

I am using 1.5.2 and pat keys do indeed not work. Here you say pat keys are supported, but they aren't.
Bearer Auth must be used for pat keys.

    public HubSpotBaseClient(string apiKey)
    {
      _apiKey = apiKey;
      _mode = HubSpotAuthenticationMode.HAPIKEY;
      Initialise();
    }

"Paging.Next" is not set in "Company.Search()" result

Describe the bug
When searching for a company with Company.Search() method, Paging.Next is set to null in deserialized result, even paging.next.after is set in the JSON response.

Repro Steps

  • Search for a company using the Company.Search() method with Limit parameter set to lower number than the total result count.
  • Inspect Paging.Next in the search result (CompanySearchHubSpotModel<Company>).

Expected behavior
Paging.Next should be set.

Screenshots
image

Can't use oAuth

Describe the bug
var api = new HubSpotApi("clientID", "clientSecret", "HubSpotAppID");

Get Error CS1729 'HubSpotApi' does not contain a constructor that takes 3 arguments

Looks like oAuth has not been built but it seems to be part of your documentation.

RestSharp upgrade to 108

Hi Guys,

I'm getting an error while running my app which is caused by the fact that another dependency uses the RestSharp v108, while HubSpot.NET uses version 106.

Is there any plan to upgrade this library to RestSharp 108? is that very time consuming?

this is the error I'm getting while using HubSpot.NET:

Microsoft.Azure.WebJobs.Host.FunctionInvocationException: Exception while executing function: CreateTicket
 ---> System.TypeLoadException: Could not load type 'RestSharp.IRestRequest' from assembly 'RestSharp, Version=108.0.1.0, Culture=neutral, PublicKeyToken=598062e77f915f75'.
   at HubSpot.NET.Core.HubSpotBaseClient.SendRequest(String path, Method method, String json)
   at HubSpot.NET.Core.HubSpotBaseClient.SendRequest[T](String path, Method method, String json, Func`2 deserializeFunc)
   at HubSpot.NET.Api.Company.HubSpotCompanyApi.GetByDomain[T](String domain, CompanySearchByDomain options)
...

Cheers

Can't connect with OAuth

Hi all

I'm having trouble connecting to HubSpot with the OAuth method.

`var clientId = "xxxxxxx";
var clientSecret = "xxxxxxx";
var authCode = "xxxxxxxxx";
var token = new HubSpotToken();

    var oAuthApi = new HubSpotOAuthApi(HubSpotBaseClient.BaseUrl, clientId, clientSecret);
    try
    {
        token = oAuthApi.Authorize(authCode, "http://localhost:5001/v1/profiles/hubspot/callback");
    }
    catch (Exception e)
    {
        Console.WriteLine(e);
        throw;
    }`

This is my current code, the authCode i get from copy pasting the install url from my HubspotApp.

Every time I run this piece of code I get a null as token. I can't debug the actual code from the package aswell.

Thank you fro helping me out :)

Contributing

Hi @cdmdotnet, I am working on a project at the moment which will need considerable interaction with HubSpot. We have evaluated this library (both the original hubspot-net/HubSpot.NET and your fork) and think this project has the best platform starting point to do the activities
we need.

We have noticed that some features do not currently exist and I am looking contribute some PRs adding features such as contact lists management etc.

Can you please let me know if you are actively maintaining this fork or if you would recommend an alternate "source" repo?

If you are now taking up the task of maintaining this project, if I was to submit PRs to you, do you have any idea what timelines would look like to get the changes approved, merged on your side and pushed into nuget?

Many thanks

Ian

How create more one company for a contact?

Hi, first congratulations for your job.
When create a contact at member ContactHubSpotModel.AssociatedCompanyId (type long) we indicate main Company, but now exists the possibility of associating secondary companies. Development Team of Hubspot tell us that is possible puts Company Id's semicolon separated when a contact is created, by example : "454855479;475477457".
This functionality could be developed in the future o already exists?
Thanks in advanced.

PAT KEY is not working

An unhandled exception occurred while processing the request.
HubSpotException: Error from HubSpot, Response = {"status":"error","message":"This hapikey doesn't exist.","correlationId":"b38e08ac-c201-4f44-8a56-57a4bc3ce950"}
HubSpot.NET.Core.HubSpotBaseClient.SendRequest(string path, Method method, string json)

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.