<?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 Re: Major Upgrade for API Clients in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Major-Upgrade-for-API-Clients/m-p/341837#M33413</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/132375"&gt;@areynier&lt;/a&gt;,&amp;nbsp;this update should not have affected what you were doing since the library that got updated does not have a method for the v2 pages API.&amp;nbsp; Could you give some details on what's failing for you?&amp;nbsp; If you could share the request you are sending to HubSpot and the response you are getting back, that would help us look into this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 May 2020 15:03:57 GMT</pubDate>
    <dc:creator>zwolfson</dc:creator>
    <dc:date>2020-05-26T15:03:57Z</dc:date>
    <item>
      <title>Major Upgrade for API Clients</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Major-Upgrade-for-API-Clients/m-p/340925#M33318</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What’s happening?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;HubSpot’s API clients for &lt;A href="https://github.com/HubSpot/hubspot-api-nodejs" target="_self"&gt;Node.js&lt;/A&gt;, &lt;A href="https://packagist.org/packages/hubspot/api-client" target="_self"&gt;PHP&lt;/A&gt;, &lt;A href="https://rubygems.org/gems/hubspot-api-client" target="_self"&gt;Ruby&lt;/A&gt;, and &lt;A href="https://pypi.org/project/hubspot-api-client/" target="_self"&gt;Python&lt;/A&gt; all received a major version upgrade. This upgrade improves usability by changing many method names.&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;As an example, before the update: you might use crm.companies.batchAPI.createBatch() in the Node.js client.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;After the update: you would use crm.companies.batchAPI.create(), removing the redundancy of using “batch” twice.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;Also included is a new “get all” method for CRM objects across all libraries. The "get all" method handles pagination for you, making several API calls “under the hood” without you needing to know the details.&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;The new versions are available now across the different package managers.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;If you have any questions, please join the discussion here.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 15:57:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Major-Upgrade-for-API-Clients/m-p/340925#M33318</guid>
      <dc:creator>zwolfson</dc:creator>
      <dc:date>2020-05-21T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Major Upgrade for API Clients</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Major-Upgrade-for-API-Clients/m-p/341512#M33365</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of our Python scripts using the v2 failed because of the update. For instance, the endpoint: &lt;A href="https://api.hubapi.com/content/api/v2/pages" target="_blank"&gt;https://api.hubapi.com/content/api/v2/pages&lt;/A&gt; stopped working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were using the Python requests module and not the hubspot-api-client Python module. However, neither the pages of the methods we used (for the same example: &lt;A href="https://developers.hubspot.com/docs/methods/pages/get_pages" target="_blank"&gt;https://developers.hubspot.com/docs/methods/pages/get_pages&lt;/A&gt;), nor the documentation have been updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please give us more details on the upgrade?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 09:18:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Major-Upgrade-for-API-Clients/m-p/341512#M33365</guid>
      <dc:creator>areynier</dc:creator>
      <dc:date>2020-05-25T09:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Major Upgrade for API Clients</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Major-Upgrade-for-API-Clients/m-p/341837#M33413</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/132375"&gt;@areynier&lt;/a&gt;,&amp;nbsp;this update should not have affected what you were doing since the library that got updated does not have a method for the v2 pages API.&amp;nbsp; Could you give some details on what's failing for you?&amp;nbsp; If you could share the request you are sending to HubSpot and the response you are getting back, that would help us look into this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 15:03:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Major-Upgrade-for-API-Clients/m-p/341837#M33413</guid>
      <dc:creator>zwolfson</dc:creator>
      <dc:date>2020-05-26T15:03:57Z</dc:date>
    </item>
  </channel>
</rss>

