Code Monkey home page Code Monkey logo

put.io-api-v2's People

Contributors

ablyler avatar tiefpunkt avatar

Stargazers

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

Watchers

 avatar  avatar

put.io-api-v2's Issues

Argument for search

Hi,
I've a little question. When I search file with term + "-1" for page. The resultat is limited, I don't have alle file and I don't have number of page total.

Excuse for my english...I french X/

Thx

EDIT: prob of put.io

SSL certificate problem: Self signed certificate

Hey, I've used your library in the past and it worked great. I'm Trying it again for a new project and I can't connect. The error I get is:

Uncaught PutIO\Exceptions\RemoteConnectionException: SSL certificate problem: self signed certificate in certificate chain in putio/vendor/nicoswd/putio/src/PutIO/Engines/HTTP/CurlEngine.php:97

I've checked the code and I also changed

private $verifyPeer = \true;

to false in CurlEngine.php

There is no way to get file path

For me, about the only reason I would want to use an API is to get the download URLs. Not to be forced to save it on my server. You should be able to get the redirect URL for the file.

put.io certificate changed?

My application does not work any more:

[2015-12-06 10:52:13] putio-unwrapper.ERROR: Failed to excute API. {"error":"SSL certificate problem: self signed certificate in certificate chain"} []

I tried to replace StarfieldClass2CA.pem by the comodo certs that are in the chain of api.put.io, but still got the same error.

Can't upload files

When I try this, tweaked from the docs:

// Upload a file.
$file = '/path/to/file.torrent';
$putio->files->upload($file);

I'm getting the following response from the API even though other API calls (getting files) work just fine.

{
  "error_message": "The server could not verify that you are authorized to access the URL requested.  You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.", 
  "error_type": "Unauthorized", 
  "error_uri": "http://api.put.io/v2/docs", 
  "status": "ERROR", 
  "status_code": 401
}

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.