Bitcoin Forum
May 03, 2024, 09:18:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1] 2 »  All
  Print  
Author Topic: PAYB.TC - The Free Bitcoin Address Shortener  (Read 4441 times)
payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 09, 2011, 05:38:03 AM
Last edit: July 26, 2011, 02:19:59 PM by payb.tc
 #1

to help developers use this service, i've now added a plain text version of each page.

for example http://payb.tc/donate gives the full html page and http://payb.tc/donate/text gives just the address in plain text.

simply add /text to your current short link url to have your address returned as plain text.

update: it also now supports qr and json output too. examples:

http://payb.tc/donate (html page)
http://payb.tc/donate/text (plain text)
http://payb.tc/donate/qr (qr encoded image)
http://payb.tc/donate/json (json encoded array with variables 'username' and 'address')

update 2:

each page now has a link to view the address on block explorer, plus links to the api options.

update 3:

added an xml option also:

http://payb.tc/donate/xml
1714771084
Hero Member
*
Offline Offline

Posts: 1714771084

View Profile Personal Message (Offline)

Ignore
1714771084
Reply with quote  #2

1714771084
Report to moderator
1714771084
Hero Member
*
Offline Offline

Posts: 1714771084

View Profile Personal Message (Offline)

Ignore
1714771084
Reply with quote  #2

1714771084
Report to moderator
1714771084
Hero Member
*
Offline Offline

Posts: 1714771084

View Profile Personal Message (Offline)

Ignore
1714771084
Reply with quote  #2

1714771084
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.
1714771084
Hero Member
*
Offline Offline

Posts: 1714771084

View Profile Personal Message (Offline)

Ignore
1714771084
Reply with quote  #2

1714771084
Report to moderator
1714771084
Hero Member
*
Offline Offline

Posts: 1714771084

View Profile Personal Message (Offline)

Ignore
1714771084
Reply with quote  #2

1714771084
Report to moderator
done
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
July 09, 2011, 09:39:10 PM
 #2

great addition for the community
Skeenz
Newbie
*
Offline Offline

Activity: 24
Merit: 0



View Profile WWW
July 10, 2011, 05:23:58 AM
 #3

+1
Awesome change payb.tc
I hope other sites will follow along and make similar changes so that site-scraping does not need to be a dark-art.
At the end of the day, we all need to try and ensure that information is easily accessible - even when retrieved in an automated fashion.
payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 10, 2011, 06:17:28 AM
 #4

cool i'm glad this is helpful.

and so i've now also added 'qr' Cheesy Cheesy

simply add /qr to your short link to get a qr image. example: http://payb.tc/donate/qr

i'm not very familiar with qr or how it looks on phones yet so please let me know if the size and margin is okay.
Yankee (BitInstant)
Legendary
*
Offline Offline

Activity: 1078
Merit: 1000


Charlie 'Van Bitcoin' Shrem


View Profile WWW
July 10, 2011, 06:56:21 AM
 #5

This is actually really awesome!

I'm really impressed with this, great job dude!

/Yankee/

Bitcoin pioneer. An apostle of Satoshi Nakamoto. A crusader for a new, better, tech-driven society. A dreamer.

More about me: http://CharlieShrem.com
Alex Beckenham
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 10, 2011, 07:33:20 AM
 #6

Good stuff... I was thinking it'd be handy if the various withdrawal forms around the web would also accept a url instead of just accepting a bitcoin address.

Eg. You go to withdraw from Mt Gox and instead of inputting your address you just input your shortener link.

codler
Full Member
***
Offline Offline

Activity: 191
Merit: 100



View Profile
July 10, 2011, 07:45:02 AM
 #7

Idea
Add support for json/jsonp
And the postfix in URL should end /json

payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 10, 2011, 10:13:49 AM
 #8

suffix? yeah json is next on my to do list Smiley
Stupidpal
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 10, 2011, 10:31:26 AM
 #9

This is an awesome site. Couldn't have asked for anything more.
codler
Full Member
***
Offline Offline

Activity: 191
Merit: 100



View Profile
July 10, 2011, 10:32:54 AM
 #10

suffix? yeah json is next on my to do list Smiley

Yes i meant suffix Tongue

payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 10, 2011, 10:53:39 AM
 #11

what should i include in the json data?

i was thinking:

user -> myusername
address -> 18fjaiofjblahblahblahblah

anything else?
codler
Full Member
***
Offline Offline

Activity: 191
Merit: 100



View Profile
July 10, 2011, 11:07:18 AM
 #12

where do "user" come from?

maybe you can get some ideas here http://blockexplorer.com/q

MadSweeney
Full Member
***
Offline Offline

Activity: 160
Merit: 100



View Profile
July 10, 2011, 11:31:43 AM
 #13

The /qr works with the Bitpay Android app. It gave the correct address when I used the app's "From Camera" button.

Good job.

payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 10, 2011, 01:22:31 PM
 #14

where do "user" come from?

maybe you can get some ideas here http://blockexplorer.com/q


user would just be the person's short name, eg 'donate'.

sorry i'm not sure how that link you gave me helps.
payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 11, 2011, 10:18:43 AM
 #15

okay now it outputs json

just add /json to the end of your short link and you'll get something like this:

{"username":"donate","address":"13QTW27b3SgqrEjefB9PbiZ6hcrVCJAxfx"}

( that's from http://payb.tc/donate/json )

any comments? is that the sort of output you would expect for a json api?
rate5
Member
**
Offline Offline

Activity: 104
Merit: 100



View Profile
July 15, 2011, 10:57:32 AM
 #16

Very creative domain name, I like it!  Grin
Vasco
Donator
Full Member
*
Offline Offline

Activity: 213
Merit: 100

SEIZED by Gunthar


View Profile
July 16, 2011, 04:51:11 AM
 #17

Great idea!

payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
July 17, 2011, 03:23:09 AM
 #18

thanks! i got the idea when i saw someone else charging money for their shortening service and decided to do a free one.
codler
Full Member
***
Offline Offline

Activity: 191
Merit: 100



View Profile
July 17, 2011, 07:26:58 AM
 #19

It would be nice if there was a link to blockexplorer.com/address/XXX on the site

rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 17, 2011, 07:53:04 AM
 #20

Neat!

I would prefer if it defaulted to the text version and you could point to the html version if you chose to.

http://payb.tc/rethaw/text

Pages: [1] 2 »  All
  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!