Skip to content

Instantly share code, notes, and snippets.

@lazyatom
Created May 8, 2010 09:50
Show Gist options
  • Save lazyatom/394472 to your computer and use it in GitHub Desktop.
Save lazyatom/394472 to your computer and use it in GitHub Desktop.
#blue API tokens
===============
George (07716354418) - *d204423528650370012868f1c96c6407*
Julian (07716354340) - *d204423528650370012868ea84466226*
Anne (07716354432) - *d204423928681a7f012868f1434e4834*
Timmy (07716354419) - *d204423a28681c3b012868f6db715a59*
Dick (07716354406) - *d204423a28681c3b012868fd10f25cf1*
We have handsets with some of the SIMs for these numbers for you to use; you're also welcome to use the SIMs in your own phone, text anyone from them, and so on.
Docs
=====
Go to https://api.hashblue.com for the basic guide; if you're using Ruby, install the 'hashblue-api' gem.
One thing that's missing from the docs is the ?q=keyword parameter to do searching.
Example
=======
curl -u blah:d204423a28681c3b012868f6db715a59 https://api.hashblue.com/subscribers/d204423a28681c3b012868f6db715a59/messages.json
[{"timestamp":"2010-05-08T09:54:52Z","sent":true,"id":"89zoo8vaq918o9sf82u6zmgzw","contact_msisdn":"447716354418","subscriber_msisdn":"447716354419","subscriber_id":"d204423a28681c3b012868f6db715a59","content":"Whatever. You're so lazy."},{"timestamp":"2010-05-08T09:54:17Z","sent":true,"id":"800dkh8whupyrj09h6jxcl765","contact_msisdn":"447716354340","subscriber_msisdn":"447716354419","subscriber_id":"d204423a28681c3b012868f6db715a59","content":"If you're going to the butchers, fetch me a frickin bone"},{"timestamp":"2010-05-08T09:53:09Z","sent":true,"id":"7zdlwfzbhlw1f4syxh0dtjz28","contact_msisdn":"447716354340","subscriber_msisdn":"447716354419","subscriber_id":"d204423a28681c3b012868f6db715a59","content":"Hey julian!"},{"timestamp":"2010-05-08T09:38:05Z","sent":true,"id":"6w5uwtwyzilrgmfxloza3qftd","contact_msisdn":"447950080651","subscriber_msisdn":"447716354419","subscriber_id":"d204423a28681c3b012868f6db715a59","content":"PALMPRD VPHONE-N78835F5298B6C991D2D3DEC6FD16B196;IMEI:35813902002448902"},{"timestamp":"2010-05-08T09:36:00Z","sent":false,"id":"7dxdfoah26n7ywl5xd5xuwcw5","contact_msisdn":"447716354418","subscriber_msisdn":"447716354419","subscriber_id":"d204423a28681c3b012868f6db715a59","content":"Quentin will take you out this morning"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment