Giter Club home page Giter Club logo

go-pushbullet's People

Contributors

dutok avatar

Stargazers

 avatar

Forkers

geenomc

go-pushbullet's Issues

Pagination

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.

Add image resizing

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.