Skip to content
This repository has been archived by the owner on Nov 1, 2019. It is now read-only.

Device Id (iden) is a string, not int #4

Closed
blachniet opened this issue Jun 27, 2014 · 3 comments
Closed

Device Id (iden) is a string, not int #4

blachniet opened this issue Jun 27, 2014 · 3 comments

Comments

@blachniet
Copy link

I just talked to one of the guys at Pushbullet and he pointed out that the device identifier (iden according to Pushbullet, Id according to go-pushbullet) is a string, not an int.

Was there a reason you chose to represent it as a int, or did the API change?

P.S. Thanks for this package! It made my life a little easier, and has been good for helping me learn Go.

@dgryski
Copy link
Contributor

dgryski commented Sep 8, 2014

This package still uses API v1. It needs to be updated for v2. (The 'app_version' key has also changed from an string->int->string.)

Note that 'Id' is the original v1 identifier, and that is an integer. 'Iden' is the v2 device identifier, and that's a string.

@dgryski
Copy link
Contributor

dgryski commented Nov 22, 2014

Not having v2 support in this library finally got to me. Just filed #6 that updates everything to the newer API.

@cschomburg
Copy link
Owner

Thanks a lot! I'm not using Pushbullet anymore, so I never found the time to update.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants