![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Sep 2012
Posts: 3,230
|
Teaching myself API and I've got a question.
I believe that the brain is a muscle and it needs to workout or it'll go soft. So, I'm trying to learn some new skills. OK, I've got a problem:
![]() What am I supposed to put in the address to field? They don't break down in the docs what they are looking for in the various fields. ![]()
__________________
officially retired as of March 01 2018 but still fucking around and getting into shit. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 657
|
If you're writing to the president (of America), the address you put is:
Mr President The White House Washington If you're writing to Santy Claus, the address you put is: Mr Santy Claus Lapland The North Pole HTH
__________________
__________________ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Feb 2023
Posts: 56
|
Since this seems to be related to crypto, and since the address is merely a string, maybe this is a blockchain address? They do validate it, so you have to follow a certain format. Look up for blockchain address formats. Don't think they expect a regular address
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Industry Role:
Join Date: Aug 2021
Posts: 346
|
address_to = '1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2' - this is an example btc address
api_key = 'YOUR_API_KEY' # Construct the API request string api_url = f'https://api.example.com/address-to-service?api_key={api_key}&address_to={address_to}' # Make the API request using the constructed URL response = requests.get(api_url) # Process the API response # ... (code to handle the response) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
why the hell wouldn't you post the link to the API docs? i've used hundreds of APIs. we can't guess what they want or which one you are using. i don't even see your endpoint in the image.
i agree about use it or lose it. that's why i sit at my desk every day. ![]() # |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,528
|
Quote:
A good security system, or a simple lock on the door, would free you up to do ther more fun stuff... ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 657
|
Quote:
Now I've seen it, it's not much more help, but he's probably just trying to make a cryptocurrency price app using 'Postman', but using currency exchange code. Anyway, more importantly, fuck imgur. They haven't just deleted billions of images, they're also blocking loads of networks and ISPs. Anyone found a decent alternative that doesn't require sign up?
__________________
__________________ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,528
|
I can help with any APIP's questions you may have, (infact, Im somewhat of an expert) but I dont know just API's - Sorry.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
feeding the wolves
Industry Role:
Join Date: Aug 2012
Location: between sand and stars in Jamaica
Posts: 6,243
|
nah, ask Rebel
he knows everything, but not in an uppity officious manner. if you ask nicely he might send you a wicked track too to brighten your day as to the OP who finds this place 'useless' and thinks t'would be cool if the US essentially banned porn/adult, suspect this API is for his quality content sold via crypto yay to a bright shiny day when none of us can monetize via cc. oh what a party that would bring lol dude couldn't even figure out how to change his widgets without gfy input. it was RIGHT HERE but Dubs was nice enough to spell it out and he expects those hypothetical customers to use crypto? like all of a sudden everyone is gonna get a crypto address? ![]() ![]() @OP hope ya get a bunch a market share there! right now it's what? like 10% if that? w/o cc we're kinda fucked. but he's "just fucking around" yet 'cares'...or doesn't. somewhat confusing, but it's aight about the muscle thing...def use. but if been a while which I suspect it has been ya gotta ease into it to prevent injury caused by strain start with picture puzzles and lots of hydration ****** not ageist, my mom is is 77 and yesterday I asked her, during our daily call, what ya do today? her: oh, you know, gathered up brush from the last storm, dug the plants into the beds outside I turned over a few weeks ago waiting for the last of the northern CA end of winter frosts, then took 'em out, planted em, watered 'em, pruned trees, vacuumed cuz I have a fellow tai chi instructor coming over Monday to go over new moves we want to introduce to class on Monday aft, now just sitting re-reading the book I rec'd for book club (MaddAddam), knitting a new shawl with kitten 'pon lap. you? me: uh...jesus mother fucking christ I love you and not just cuz you're my moms and actually like some of my music and is insightful and funny as fuck ![]() OP, you still ok if we all lose access to cc? neither here nor there, just curious how much you care lol
__________________
throwing molotav cocktails at the precinct |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
Quote:
![]() # |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
feeding the wolves
Industry Role:
Join Date: Aug 2012
Location: between sand and stars in Jamaica
Posts: 6,243
|
not a rant but whatever
have a wicked day ya'll PS that Atwood trilogy really good
__________________
throwing molotav cocktails at the precinct |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Industry Role:
Join Date: Sep 2012
Posts: 3,230
|
Quote:
__________________
officially retired as of March 01 2018 but still fucking around and getting into shit. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Industry Role:
Join Date: Sep 2012
Posts: 3,230
|
Quote:
You read very little of anything posted and comprehend even less. You're either a moron or stoned and I suspect most often it's both. All of your opinions stem from this social justice warrior woke bullshit and your sense of being owed something by society. So just to make things very clear to you and anyone whom I might do business with. Anyone who works for me/us gets paid! We pay on time, every time and without debate or re-negotiations. Plus porn talent always gets paid in cash on set, immediately after they sign the release and we have copies of their ID. Whatever the final outcome of the video, they go home with that money. We're not Budweiser or Target. We're not obligated to participate in any one's social causes and we're not going to unless there's strong financial incentive. I've lived through the 60s and Ms. Jesse Quinn, you're a very poor imitation of a hippie. As for this forum: Most of my expertise is in business and production and not very technical. Never the less, I'm very very happy to pay it forward and be of help to others on this site when the opportunity presents itself. I'm old school so I don't need to like someone in order to be helpful.
__________________
officially retired as of March 01 2018 but still fucking around and getting into shit. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
feeding the wolves
Industry Role:
Join Date: Aug 2012
Location: between sand and stars in Jamaica
Posts: 6,243
|
hmm, pretty sure my level of reading comprehension is fairly high
as to being a moron, I wish. suspect life would be easier, or perhaps not. dunno stoned? not yet, that's an end of the night thing 'social justice warrior'? I'm not American screamy nor do I consume media that I find divisive I'm chilling in the Caribbean, working hard amongst fellow hard workers who worked even harder to get beyond that here Seaga years: interesting history, look it up you're just trying for a cheap shot cuz I support BLM TO for the reasons I posted in the basement such a radical. please ok...so you want a medal for paying performers in cash in real time? how you plan to monetize with customers if you get your dream of illegality? w/o cc's you don't think some of them might be wary of crypto? not like billion dollar scams over any of that but yeah, I must be high. and what do I know being here when you were doing what? PS none of those brands exist in my county. and no 7-11's. it's hopeless love the track obv otherwise I wouldn't post it but the vid reminds me of the Santana lion album cover I totally do not have on my wall. the one with all the faces. I got it from my dad pick out all the acts of kindness, it's fun Quote:
would be cool if you showed that, but there is no show only do but yes, going forward w3schools, stackoverflow, good resources start with not being a dick honestly hope you have a wicked rest of your day
__________________
throwing molotav cocktails at the precinct |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,058
|
Quote:
no 2 apis are the same, some may be very similar but each is fairly unique to whatever function the api has .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Too lazy to set a custom title
Join Date: Jun 2006
Posts: 18,985
|
Energy builds America ;)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
So Fucking Banned
Industry Role:
Join Date: Aug 2021
Posts: 346
|
Here you go
Code:
# Replace 'YOUR_API_KEY' with your actual API key api_key = 'YOUR_API_KEY' # Set the endpoint URL api_url = 'https://api.simpleswap.io/v1/' # Function to get the current Bitcoin exchange rate def get_btc_exchange_rate(): endpoint = 'get_rate' currency_from = 'btc' currency_to = 'usd' # Construct the API request URL url = f'{api_url}{endpoint}?currency_from={currency_from}¤cy_to={currency_to}' # Make the API request using the constructed URL response = requests.get(url, headers={'Api-Key': api_key}) # Process the API response if response.status_code == 200: data = response.json() rate = data['rate'] print(f'Current BTC exchange rate: {rate}') else: print(f'Error: {response.status_code}') # Function to swap Bitcoin for another cryptocurrency def swap_bitcoin(address_from, address_to, amount): endpoint = 'swap' currency_from = 'btc' currency_to = 'eth' # Construct the API request URL url = f'{api_url}{endpoint}' # Set the request payload payload = { 'address_from': address_from, 'address_to': address_to, 'amount': amount, 'currency_from': currency_from, 'currency_to': currency_to } # Make the API request using the constructed URL and payload response = requests.post(url, headers={'Api-Key': api_key}, json=payload) # Process the API response if response.status_code == 200: data = response.json() transaction_id = data['transaction_id'] print(f'Success! Transaction ID: {transaction_id}') else: print(f'Error: {response.status_code}') # Example usage address_from = 'YOUR_BITCOIN_ADDRESS' address_to = 'YOUR_ETHEREUM_ADDRESS' amount = 0.01 get_btc_exchange_rate() swap_bitcoin(address_from, address_to, amount) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
Quote:
![]() (i'm looking at you google anal! i still gotta convert a few hundred sites by July 1 ![]() #
__________________
# ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |