Pushbullet API in Go
dutok / go-pushbullet Goto Github PK
View Code? Open in Web Editor NEWPushbullet API in Go
License: MIT License
Pushbullet API in Go
License: MIT License
wss://stream.pushbullet.com/websocket
Finish pushes..
When listing objects, if you receive a cursor in the response, it means the results are on multiple pages. To request the next page of results, use this cursor as the parameter cursor in the next request. Any time you list a collection of objects, they may be multiple pages (objects are always returned with the most recent ones first). You can specify a limit parameter on any calls that return a list of objects to get a smaller number of objects on each page. The default (maximum) limit is 500, including deleted objects.
https://api.pushbullet.com/v2/users/me
Finish users/me. Need to be able to update current user.
Resizing Images
Some objects have an image_url property that can be resized for faster downloading on the client. Here's a list of common domains and how to resize the image to be a 200 pixel square:
googleusercontent.com: add ?sz= to the end of the url
before: https://lh6.googleusercontent.com/-7JAEAYp78gw/AAAAAAAAAAI/AAAAAAAAAVw/zNWuySUUHs4/photo.jpg
after: https://lh6.googleusercontent.com/-7JAEAYp78gw/AAAAAAAAAAI/AAAAAAAAAVw/zNWuySUUHs4/photo.jpg?sz=200
graph.facebook.com: add ?width=&height= to the end of the url
before: https://graph.facebook.com/10100201787233716/picture
after: https://graph.facebook.com/10100201787233716/picture?width=200&height=200
pushbullet.imgix.net: add ?w=&h=&fit=crop to the end of the url
before: https://pushbullet.imgix.net/udprO-lv849tDMnhVDYC1gmOA7I3AmUefBP6yr/IMG_2375.JPG
after: https://pushbullet.imgix.net/udprO-lv849tDMnhVDYC1gmOA7I3AmUefBP6yr/IMG_2375.JPG?w=200&h=200&fit=crop
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.