Bitcoin Forum
December 10, 2016, 08:50:49 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: PAYB.TC - The Free Bitcoin Address Shortener  (Read 4073 times)
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
July 09, 2011, 05:38:03 AM
 #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
1481403049
Hero Member
*
Offline Offline

Posts: 1481403049

View Profile Personal Message (Offline)

Ignore
1481403049
Reply with quote  #2

1481403049
Report to moderator
1481403049
Hero Member
*
Offline Offline

Posts: 1481403049

View Profile Personal Message (Offline)

Ignore
1481403049
Reply with quote  #2

1481403049
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481403049
Hero Member
*
Offline Offline

Posts: 1481403049

View Profile Personal Message (Offline)

Ignore
1481403049
Reply with quote  #2

1481403049
Report to moderator
done
Jr. Member
*
Offline Offline

Activity: 56


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

great addition for the community
Skeenz
Newbie
*
Offline Offline

Activity: 24


Firstbits: 18n8c


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.

http://bitcoogle.com/ (http://forum.bitcoin.org/index.php?topic=27354.0)
http://payb.tc/skeenz == 18n8CsbiseiXytzjJJSZwMJPWda6uh7qFP
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



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


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


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



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

Activity: 812



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: 84


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

This is an awesome site. Couldn't have asked for anything more.

If I helped, tip me! Smiley http://btc.to/a7
The easiest way to earn Bitcoins! BitCatch Randomizer
codler
Full Member
***
Offline Offline

Activity: 191



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

Activity: 812



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



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: 163



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

Activity: 812



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

Activity: 812



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
Full Member
***
Offline Offline

Activity: 147


PGP 0x28F5EC01


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

Very creative domain name, I like it!  Grin

Buy domain names with Bitcoin!  domains4bitcoins.com  - Free Privacy Protection, DNS, Domain Forwarding, Mail Forwarding, & Domain Theft Protection!  Cool
Vasco
Donator
Full Member
*
Offline Offline

Activity: 213

SEIZED by Gunthar


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

Great idea!

payb.tc
Hero Member
*****
Offline Offline

Activity: 812



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



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



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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!