Bitcoin Forum
May 12, 2024, 07:37:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [WTB] Help with Paypal's Currency API [2 BTC?]  (Read 2389 times)
rizzn (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10



View Profile
June 28, 2011, 03:21:21 AM
 #1

I'm looking for help delving into Paypal's currency converter API. I've written code in PHP / Jscript to do some simple conversions of currency for a spreadsheet I designed in Google to help manage my BTC finances, but it was fairly easy to achieve thanks to Google's simple APIs.

Paypal's APIs are significantly more convoluted. Witness the documentation you have to wade through to get the rates Paypal use to convert currency.

Here's the documentation for the currency converter API:

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_APConvertCurrency

Here's the documentation for the parent API, the Adaptive Payments API:

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_APIntro

I could figure it out, if I didn't have a day job and a need for sleep, and I'd gladly rip off some GitHub code to do this, if there were any to be had.

I can put up a couple BTC for the time of whomever can meet with me on Skype and help explain it. If it adds incentive for anyone, I'll post the source here on the forum for group consumption.

Ideally, the output should be as easy to manage (in JSON format) as the output of the Google currency converter API is.
1715499441
Hero Member
*
Offline Offline

Posts: 1715499441

View Profile Personal Message (Offline)

Ignore
1715499441
Reply with quote  #2

1715499441
Report to moderator
1715499441
Hero Member
*
Offline Offline

Posts: 1715499441

View Profile Personal Message (Offline)

Ignore
1715499441
Reply with quote  #2

1715499441
Report to moderator
1715499441
Hero Member
*
Offline Offline

Posts: 1715499441

View Profile Personal Message (Offline)

Ignore
1715499441
Reply with quote  #2

1715499441
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
nhodges
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


View Profile
June 28, 2011, 03:25:29 AM
 #2

Have you tried StackOverflow? http://stackoverflow.com/questions/1789699/php-example-for-paypal-adaptive-payments-convertcurrency-api

rizzn (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10



View Profile
June 28, 2011, 03:28:18 AM
 #3

Damn that was quick. Shoulda remembered SO. How much you want for your help? Smiley
nhodges
Sr. Member
****
Offline Offline

Activity: 322
Merit: 251


View Profile
June 28, 2011, 03:53:26 AM
 #4

You can tip me whatever, if you feel like it. All I did was paste a link. Tongue

http://payb.tc/nuri

rizzn (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10



View Profile
June 29, 2011, 06:29:31 AM
 #5

@nhodges: I should probably move this discussion (at this point) to the tech boards, but did you try running that code? I got it up and running this morning, but the results it feeds out are wildly different from what they should be. Like, inconsistently off by around 10 or 15%.

Hoping to not have to spend a whole lot of time on this, but I may hafta.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!