<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic New API client libraries available in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/321613#M30962</link>
    <description>&lt;P&gt;&lt;STRONG&gt;What’s happening?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;We're excited to share the release of a new set of client libraries for &lt;/SPAN&gt;&lt;A href="https://packagist.org/packages/hubspot/api-client" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;PHP&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;, &lt;/SPAN&gt;&lt;A href="https://www.npmjs.com/package/@hubspot/api-client" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Node.js&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; and &lt;/SPAN&gt;&lt;A href="https://rubygems.org/gems/hubspot-api-client" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Ruby&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; supporting the recently &lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/changelog/crm-api-v3-developer-preview-is-now-available" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;released v3 APIs&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;! &lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;These client libraries allow you to interact with the HubSpot API more easily. They also provide a number of utility functions such as attaching authentication to your requests, handling HubSpot’s rate limits and automatically retrying 500 errors.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;These new libraries now meet support for any v3 API currently available in &lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/preview/preview-overview" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Developer Preview&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;. As new APIs and features are released, we will continue to update the functionality of new client libraries to keep our open source efforts aligned with our latest platform efforts.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What’s changing?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;This is a brand new set of resources. Previously, the PHP, Node.js and Ruby client libraries were entirely built and supported by members of the HubSpot open source community. Working with these community members, to bring these libraries into HubSpot’s collective open source efforts, the latest version of these APIs are being built with the Open API spec in mind. These updates will allow us to use tooling like the &lt;/SPAN&gt;&lt;A href="https://github.com/OpenAPITools/openapi-generator" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;codegen library&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; to keep these libraries up to date with the latest version of the underlying APIs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;This is a part of our mission to enable and empower the community with accessible, low-friction tools and resources in order to have a delightful experience building on the HubSpot platform.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;When is this happening?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;These libraries are now available to download from the various package managers or directly from github: &lt;/SPAN&gt;&lt;A href="https://github.com/HubSpot/hubspot-api-php" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;PHP&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;, &lt;/SPAN&gt;&lt;A href="https://github.com/HubSpot/hubspot-api-nodejs" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Node.js&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; and &lt;/SPAN&gt;&lt;A href="https://github.com/HubSpot/hubspot-api-ruby" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Ruby&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;Please let us know if you have any questions or feedback by joining the conversation here&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2020 15:23:09 GMT</pubDate>
    <dc:creator>zwolfson</dc:creator>
    <dc:date>2020-02-25T15:23:09Z</dc:date>
    <item>
      <title>New API client libraries available</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/321613#M30962</link>
      <description>&lt;P&gt;&lt;STRONG&gt;What’s happening?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;We're excited to share the release of a new set of client libraries for &lt;/SPAN&gt;&lt;A href="https://packagist.org/packages/hubspot/api-client" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;PHP&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;, &lt;/SPAN&gt;&lt;A href="https://www.npmjs.com/package/@hubspot/api-client" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Node.js&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; and &lt;/SPAN&gt;&lt;A href="https://rubygems.org/gems/hubspot-api-client" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Ruby&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; supporting the recently &lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/changelog/crm-api-v3-developer-preview-is-now-available" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;released v3 APIs&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;! &lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: 400;"&gt;These client libraries allow you to interact with the HubSpot API more easily. They also provide a number of utility functions such as attaching authentication to your requests, handling HubSpot’s rate limits and automatically retrying 500 errors.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;These new libraries now meet support for any v3 API currently available in &lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/preview/preview-overview" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Developer Preview&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;. As new APIs and features are released, we will continue to update the functionality of new client libraries to keep our open source efforts aligned with our latest platform efforts.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What’s changing?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;This is a brand new set of resources. Previously, the PHP, Node.js and Ruby client libraries were entirely built and supported by members of the HubSpot open source community. Working with these community members, to bring these libraries into HubSpot’s collective open source efforts, the latest version of these APIs are being built with the Open API spec in mind. These updates will allow us to use tooling like the &lt;/SPAN&gt;&lt;A href="https://github.com/OpenAPITools/openapi-generator" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;codegen library&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; to keep these libraries up to date with the latest version of the underlying APIs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;This is a part of our mission to enable and empower the community with accessible, low-friction tools and resources in order to have a delightful experience building on the HubSpot platform.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;When is this happening?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;These libraries are now available to download from the various package managers or directly from github: &lt;/SPAN&gt;&lt;A href="https://github.com/HubSpot/hubspot-api-php" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;PHP&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;, &lt;/SPAN&gt;&lt;A href="https://github.com/HubSpot/hubspot-api-nodejs" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Node.js&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt; and &lt;/SPAN&gt;&lt;A href="https://github.com/HubSpot/hubspot-api-ruby" target="_blank"&gt;&lt;SPAN style="font-weight: 400;"&gt;Ruby&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-weight: 400;"&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;Please let us know if you have any questions or feedback by joining the conversation here&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 15:23:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/321613#M30962</guid>
      <dc:creator>zwolfson</dc:creator>
      <dc:date>2020-02-25T15:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: New API client libraries available</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/323129#M31157</link>
      <description>&lt;P&gt;It's very cool to have an official and up to date ruby gem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this really looks like it will be very hard to use and debug…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;module Hubspot
  module Client
    module Crm
      module Contacts
        module Models
          class BatchInputSimplePublicObjectBatchInput&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://github.com/HubSpot/hubspot-api-ruby/blob/master/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input.rb" target="_self"&gt;Source&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It all seems very complex and I didn't see any written test.&lt;/P&gt;&lt;P&gt;I hope it will get better, but if you keep using autogenerated code, I guess I'll continue to use and participate in &lt;A href="https://github.com/lounna-team/hubspot-api-ruby" target="_blank"&gt;https://github.com/lounna-team/hubspot-api-ruby&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 15:08:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/323129#M31157</guid>
      <dc:creator>fonji</dc:creator>
      <dc:date>2020-03-02T15:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: New API client libraries available</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/323151#M31158</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/12926"&gt;@fonji&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for taking to take a look at the new library. While we will keep using autogenerated code for the base of the client, that doesn't mean we can't change things. What would you prefer to see?&amp;nbsp; Would you propose it match the patterns in the library you lined where there is a class per object?&amp;nbsp; As we work with different types of objects, is an additonal level of abstraction OK? For example should Contacts and Pages be top level clases or should be nested inside of CRM and CMS respectively?&lt;BR /&gt;&lt;BR /&gt;Really appreciate you taking the time to leave some feedback.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Zack&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 16:46:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/323151#M31158</guid>
      <dc:creator>zwolfson</dc:creator>
      <dc:date>2020-03-02T16:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: New API client libraries available</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/323161#M31159</link>
      <description>&lt;P&gt;Thanks for your concern &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/370"&gt;@zwolfson&lt;/a&gt;! I didn't think you could do such changes. This is good news.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; For example should Contacts and Pages be top level clases or should be nested inside of CRM and CMS respectively?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be fine with any of those: Hubspot::CRM::Contact or Hubspot::Contact.&lt;/P&gt;&lt;P&gt;But I think Client is useless for example, as we won't have a Server &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://community.hubspot.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;Also in the example above, BatchInput is a prefix and a suffix, which is very weird.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the example on github :&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pl-c1"&gt;&lt;SPAN class="pl-token"&gt;Hubspot&lt;/SPAN&gt;&lt;/SPAN&gt;::&lt;SPAN class="pl-c1"&gt;Client&lt;/SPAN&gt;::&lt;SPAN class="pl-c1"&gt;Crm&lt;/SPAN&gt;::&lt;SPAN class="pl-c1"&gt;Objects&lt;/SPAN&gt;::&lt;SPAN class="pl-c1"&gt;Api&lt;/SPAN&gt;::&lt;SPAN class="pl-c1"&gt;AssociationsApi&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Api is both a module and a suffix, I don't think we need both. Also API doesn't provide much to the user, same thing for "Objects". And the plural form is surprising.&lt;/P&gt;&lt;P&gt;I would suggest&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="pl-c1"&gt;&lt;SPAN class="pl-token"&gt;Hubspot&lt;/SPAN&gt;&lt;/SPAN&gt;::[&lt;SPAN class="pl-c1"&gt;Crm&lt;/SPAN&gt;::]&lt;SPAN class="pl-c1"&gt;Association&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;With class-level methods (other languages call them "static") so I don't need to create an instance if I just want to associate two objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps, have a nice day!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 17:20:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/323161#M31159</guid>
      <dc:creator>fonji</dc:creator>
      <dc:date>2020-03-02T17:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: New API client libraries available</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/328573#M31773</link>
      <description>&lt;P&gt;Out of interest how does the rate limit work with these libaries ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 03:29:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/328573#M31773</guid>
      <dc:creator>ralphioooo</dc:creator>
      <dc:date>2020-03-31T03:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: New API client libraries available</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/328702#M31788</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/3492"&gt;@ralphioooo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good question. Rate limiting is built in to the libraries for the standard limit (100 requests/10 seconds). You can optionally turn this off or change the limits it works with.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy to answer any more questions you might have about a specific implementatiton.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Zack&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 14:02:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/328702#M31788</guid>
      <dc:creator>zwolfson</dc:creator>
      <dc:date>2020-03-31T14:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: New API client libraries available</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/328714#M31791</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/370"&gt;@zwolfson&lt;/a&gt;&amp;nbsp;ever since a few days our api-integration which has worked for over a year has stopped working.. I'm convinced something changed server side hubspot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please have look :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/API-auth-Bad-Request-error/m-p/328539#M31770" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/API-auth-Bad-Request-error/m-p/328539#M31770&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 14:15:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/New-API-client-libraries-available/m-p/328714#M31791</guid>
      <dc:creator>benvanlooy</dc:creator>
      <dc:date>2020-03-31T14:15:10Z</dc:date>
    </item>
  </channel>
</rss>

