Giter Club home page Giter Club logo

pinboard-api's People

Contributors

edalzell avatar kijin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pinboard-api's Issues

can't auth with token

when trying to authenticate by token (credentials are ok, tested with get request in browser) i get an error.

include 'pinboard-api.php';
$pinboard = new PinboardAPI('hansspiess', 'my_api_token');
$recent = $pinboard->get_recent();
var_dump($recent);

Exception: Authentication failure (using password

is the token auth method broken or am i missing something?

Timestamp not cast to int properly

If you pass in a timestamp to the get call that is an int in string format (i.e. '1234567') it is not properly cast to an int. This means the date 1970-01-01 is used for your retrieval which was unexpected.

Periodic error

I see this error in my logs periodically:

[2016-10-13 05:50:12] production.ERROR: exception 'ErrorException'
with message 'Invalid argument supplied for foreach()' in
/home/edalzell/thedalzells.org/statamic/vendor/kijin/pinboard-api/pinboard-api.php:432
Stack trace: #0

Perhaps a bit more param checking is needed?

search_by_tag - w/o case sensitive

In the browser ... when I lookup t:Opinion ... i can see content with tag:opinion as well as tag:Opinion

in the api ... it is matching exact case - is it an issue in the posts_all in the core?

pls advise

Any way to extract bundles?

I'm wondering if it's possible to get them using get_all()
-- Just read that tag bundles are not available on the API.

Update to use token?

I have updated your library to use a token instead of user:pass. Want me to submit it?

Getting this error regularly

I get this error regularly:

[2016-02-14 21:00:12] production.ERROR: exception
'PinboardException_ConnectionError' with message 'name lookup timed
out' in
/home/edalzell/thedalzells.org/statamic/vendor/kijin/pinboard-api/pinboard-api.php:382
Stack trace: #0
/home/edalzell/thedalzells.org/statamic/vendor/kijin/pinboard-api/pinboard-api.php(118):
PinboardAPI->_remote('posts/all', Array) #1
/home/edalzell/thedalzells.org/site/addons/Pinboard/Pinboard.php(93):
PinboardAPI->get_all(NULL, NULL, 'lb', 1455512102) #2

Is this something on your end??

API token case

The API token, as currently displayed on the pinboard settings page, includes lowercase letters. The regex in this library (and, to be fair, the documentation) assumes uppercase only.

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.