All Projects → hubspot-net → HubSpot.NET

hubspot-net / HubSpot.NET

Licence: MIT License
C# .NET Wrapper around the common HubSpot APIs.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to HubSpot.NET

react-hubspot
A collection of React hooks for interacting with Hubspot APIs
Stars: ✭ 20 (-77.01%)
Mutual labels:  hubspot, hubspot-api
corteza-webapp-compose
cortezaproject.org/
Stars: ✭ 61 (-29.89%)
Mutual labels:  crm
stomt-unreal-plugin
Collect feedback in-game/in-app with STOMT for Unreal Engine.
Stars: ✭ 23 (-73.56%)
Mutual labels:  crm
F-RevoCRM
日本で最も利用されているオープンソースCRM
Stars: ✭ 19 (-78.16%)
Mutual labels:  crm
touchbase.ai
E2E-encryption-powered Personal CRM - smartly engage more in meaningful relationships
Stars: ✭ 12 (-86.21%)
Mutual labels:  crm
peppermint
An open source ticket management & help desk solution. A freshdesk alternative
Stars: ✭ 367 (+321.84%)
Mutual labels:  crm
CRM
基于SSM开发的客户关系管理系统
Stars: ✭ 183 (+110.34%)
Mutual labels:  crm
carpatin-dashboard-free
Carpatin is a React JS Admin Dashboard Template that focuses on the management flows of a back-office application. We leverage the Material-UI power of stylizing the components in a way that feels more professional.
Stars: ✭ 51 (-41.38%)
Mutual labels:  crm
VK API
VK API Wrapper - in progress
Stars: ✭ 16 (-81.61%)
Mutual labels:  wrapper-api
cerb-release
For over 20 years, teams of all sizes have used Cerb to manage their email workloads. Whether you're a solo founder replying to a few support messages per day, or a team with hundreds of members replying to thousands of messages per hour, you can serve your audience faster with Cerb's time-tested tools. Development at: https://github.com/jstande…
Stars: ✭ 37 (-57.47%)
Mutual labels:  crm
wooms
Интеграция МойСклад и магазинов на базе WooCommerce (WordPress)
Stars: ✭ 31 (-64.37%)
Mutual labels:  crm
FigmaPy
An unofficial Python3+ wrapper for Figma API
Stars: ✭ 19 (-78.16%)
Mutual labels:  wrapper-api
sunny-crm
A multi-user web-based CRM for freelancers with an emphasis on flow and momentum
Stars: ✭ 16 (-81.61%)
Mutual labels:  crm
python-gerrit-api
Python wrapper for the Gerrit REST API.
Stars: ✭ 6 (-93.1%)
Mutual labels:  wrapper-api
oxford-dictionary
A nodeJS wrapper for using the oxforddictionary.com V2 REST API.
Stars: ✭ 28 (-67.82%)
Mutual labels:  wrapper-api
logd.me
Your personal and friendly life log!
Stars: ✭ 16 (-81.61%)
Mutual labels:  crm
Wilson
ERP / CRM system for small to medium construction companies.
Stars: ✭ 84 (-3.45%)
Mutual labels:  crm
DoliDroid
DoliDroid is the free Android frontend client, it is not a standalone program. It is a front end to use an online hosted Dolibarr ERP CRM https://www.dolibarr.org
Stars: ✭ 20 (-77.01%)
Mutual labels:  crm
PyGtk-Posting
Open source financial accounting and business management for Linux.
Stars: ✭ 18 (-79.31%)
Mutual labels:  crm
laravel-crm
Free & Opensource Laravel CRM solution for SMEs and Enterprises for complete customer lifecycle management.
Stars: ✭ 927 (+965.52%)
Mutual labels:  crm

NuGet Build Status

HubSpot.NET

C# .NET Wrapper around the common HubSpot APIs:

  • Contact
  • Company
  • Deal
  • Engagement
  • Owners
  • COS Files API (adds the ability to upload files to use as attachments to engagements)
  • Email Subscriptions (currently GET & PUT)
  • Timeline API
    • Timeline EventTypes
    • Timeline Events

Authorization

HubSpot.NET supports authorization by API key or through HubSpot's OAuth workflow. As is noted in HubSpot's API documentation, it is recommended to use the OAuth form if your integration is going to be used commercially due to an increased level of security. However, we have made it optional to target OAuth or API key authentication so you can develop against the authentication provider that best suits your needs.

Getting Started

To get started, install the Nuget package and create a instance of HubSpotApi passing your API Key as the only parameter; or if using OAuth pass in the Client ID, Client Secret, and App ID.

API Key

  var api = new HubSpotApi("MY API KEY");
  
  // Create a contact
  var contact = api.Contact.Create(new ContactHubSpotModel()
  {
      Email = "[email protected]",
      FirstName = "John",
      LastName = "Smith",
      Phone = "00000 000000",
      Company = "Squared Up Ltd."
  });
  

OAuth

  var api = new HubSpotApi("clientID", "clientSecret", "HubSpotAppID");
  
  // Create a contact
  var contact = api.Contact.Create(new ContactHubSpotModel()
  {
      Email = "[email protected]",
      FirstName = "John",
      LastName = "Smith",
      Phone = "00000 000000",
      Company = "Squared Up Ltd."
  });
  

For more examples see the HubSpot.NET.Examples project.

Using your own models

As HubSpot lets you create and add custom properties to your contacts, companies and deals it's likely you'll want to implement your own models. This is straightforward, simply extend the models shipped with this library, e.g. ContactHubSpotModel and add your own properties. Use the DataMember attributes to indicate the internal name. For example

  public class Contact : ContactHubSpotModel
  {
      [DataMember(Name = "activities")]
      public string Activities { get; set; }

      [DataMember(Name = "type")]
      public string Type { get; set; }
  }

Using checkbox/radio properties

These properties should be of type string and set as a semicolon delimitered list of values, e.g. "value1;value2". This is required by HubSpot, see here for more details.

Contributing

Please read CONTRIBUTING.md for more information on how to contribute. PRs welcome!

Authors

  • Dave Clarke

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgements

  • Initial version based on dotnetcore-hubspot-client by skarpdev, expanded to additional APIs and heavily refactored to use RestSharp etc.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].