By default néither unlisted nor private are described and the created paste is definitely general public and shown.If your main aim can be to get pastes andor obtain info about pastes (y.g.To make use of any other features of this module you will require to acquire an API essential from pastebin.com.Simply create an account on pastebin.com, login, after that check out ( ) and the essential will be listed somewhere in the second section on the web page.
The essential will appear something Iike this: a3767061e0e64fef6g266126f7e588f4. To get one, find -getuserkey() method. Pastebin.coms API states these secrets dont expire, so I would expect that you can print one user essential from -getuserkey(), after that basically reuse the same user essential for your WWW::Pastebin::PastebinCom::API scripts, just as you do with apikey. This would conserve producing a demand to pastebin.com every time you need a consumer key. That object must apply -post() and -get() methods that come back the same stuff LWP::UserAgent returns. By default uses LWP::UserAgent with timeout fixed by timeout constructor disagreement (discover above) and broker set to Firefox on Linux. Trans Key Pastebin Password To TheThe two optional fights must end up being provided jointly and they are the login and the security password to the pastebin.com account. They must end up being supplied when getting private pastes for that accounts. On failing results either undef or an bare list, based on the framework, and -error() technique will contain human-readable description of the error. The API spec states this key does not really end, so you should end up being capable to reuse one key for all your requirements (observe userkey point for the constructor). Will take two mandatory arguments as guitar strings: 1st one is your pastebin.com login, second one is your pastebin.com security password. On achievement models -userkey() accessor and results a user key (at the.g. Note that if -getuserkey() fails, then -userkey() will become undefined, actually if it was set to something priór to the call of -getuserkey(). Note that on failing, -pasteurl() will be undefined, even if it has been arranged prior to performing -paste(). Will take one obligatory disagreement as a string (insert content) and various optional disputes as keyvalue sets. By default is certainly not selected and the substance will end up getting called Untitled. Case-insensitive. Along with values described by the API, many various other aliases can be found. Takes a string as a value, which specifies the language to make use of. Possible values are usually (on the left is certainly the worth youd make use of for format ánd on the best will be the description of what language it is usually). When fixed to a true value, will result in the paste to be unlisted. When utilized in conjunction with personal choice (see below) the habits is definitely undefined.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |