New Python and PHP clients and other API updates

coinbase-python

Earlier this year we introduced the official Coinbase Wallet API support for Python (coinbase-python). This library has now been updated to version 2.0.0 to support the new API v2, released last month. This new version is available on PYPI and can be installed with pip:

pip install coinbase

You can read more about how to get started and about all the functionality of the library over at GitHub:

coinbase-python on GitHub

coinbase-php

Continuing our efforts to support Coinbase Wallet API v2 we have also released a completely rebuilt version of our PHP library. It’s now fully tested and up to date with the latest features. Get started with the library by installing it with Composer:

composer require coinbase/coinbase

coinbase-php on GitHub

Instant Exchange API support

A few weeks ago we released Instant Exchange, a feature that allows users to send or receive bitcoin payments while eliminating exposure to bitcoin exchange rate fluctuation. We have since expanded our API to support this functionality, making it easy to send and receive bitcoin payments to fiat accounts. Support includes:

  • Create addresses for fiat currency accounts
  • Send funds from fiat accounts (type: wallet)
  • Additional instant_exchange field for transactions to indicate that they have been instantly exchanged

New Coinbase Connect (OAuth2) documentation

Coinbase Connect makes it easy for you to access Coinbase users’ wallets so that they can buy/sell, send/receive and store bitcoin within your applications. Our new documentation makes it easier for you to get started integrating Coinbase functionality into apps.

Read more about Coinbase Connect

In addition to the updates listed above, we pushed these improvements and fixes:

  • resource_path attribute added to all linked resources
  • GET /v2/time is now unauthenticated
  • New version of coinbase-ruby (4.0.7) which fixes multiple smaller issues

Please note: We’re hiring engineers (both in our San Francisco office and remote anywhere in the world). If you’re interested in speaking with us about a role we’ve set up a coding challenge that you can take in about 30–45 minutes. You can also apply through our careers site if you prefer to start the conversation that way.

Written by Jori Lallo