This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| ''' | |
| InFB - Information Facebook | |
| Usage: infb.py user@domain.tld password | |
| http://ruel.me | |
| Copyright (c) 2011, Ruel Pagayon | |
| All rights reserved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'easypost' | |
| EasyPost.api_key = 'API KEY' | |
| to_address = EasyPost::Address.create( | |
| :name => 'Nick Merwin', | |
| :street1 => '131 E 69th St', | |
| :street2 => 'Apt 10A', | |
| :city => 'New York', | |
| :state => 'NY', | |
| :zip => '10021' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'csv' | |
| require 'easypost' | |
| EasyPost.api_key = 'INSERT PROD KEY HERE' | |
| from_address = EasyPost::Address.create( | |
| :name => 'Dr. Steve Brule', | |
| :street1 => '179 N Harbor Dr', | |
| :city => 'Redondo Beach', | |
| :state => 'CA', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'easypost' | |
| EasyPost.api_key = 'API KEY GOES HERE' | |
| to_address = EasyPost::Address.create( | |
| :name => 'WHO PACKAGE GOES TO, IF NEEDED', | |
| :company => 'COMPANY, IF NEEDED', | |
| :street1 => 'WHERE PACKAGE GOES', | |
| :street2 => 'SUITE OR APT, IF NEEDED', | |
| :city => 'CITY PACKAGE GOES TO', | |
| :state => 'STATE PACKAGE GOES TO', |