PushLine.com » Exports » Advanced Exports

HTML Exports

Selected Countries Best RatesHTML Export
tp=header, tp=footerYour pushline site header & footer
tp=call_from-html_select(id_from_country=0), tp=call_to-html_select(id_country=0, popular=0)html_select with country list
call_from-html_select, call_to-html_select

XML and Tab Delimited Exports:

Specify tp parameter for this page ( www.pushline.com/export/index.php?tp=... ) to get desired export

add help parameter for help
add xml paramerer to receive XML instead of tab delimited output
add php paramerer to receive Serialized PHP export
add yaml paramerer to receive YAML formatted output

Default entry delimiter: \t ascii 9
Default row delimiter: \n

More Features available on request

PARAMETERDESCRIPTION / HELP
Country Info
tp=country

Country List and codes, xml, table

Country ID, country name, country dialing code, additional_dialing_code, id_country_main (Sometimes calling rates in the same country can differ from region to region. As an example, there are "Russia" rates and "Russia - Moscow" rates. Id_country_main identifier determines what region belongs to what country. So, if the country ID for Russia is 161, then the id_country_main for Russia-Moscow will also be 161 ), two letter ISO country code.

RATES
tp=card_country_rate&cc=card_company&id_from_country=country

rate table for card from country ( tab_delimited, help)

Returns:
ID_COUNTRY, RATE (cent/min)

tp=best_rate&id_from_country=...

best rates for given from_country ( from usa, xml, table, help)

Returns:
ID_COUNTRY, COUNTRY_NAME, RATE (cent/min)

tp=all_rates&id_from_country=...

All rates for all card to all destinations from given country ( tab delimited, xml, help)

CARD_COMPANY, ID_COUNTRY, COUNTRY_NAME, RATE (cent/min).

* ORIGINATION + TERMINATION RATES for cards
tp=card_origination&cc=card_company
tp=card_termination&cc=card_company
Documentation
Toll Free flag=y - country-wide access rates,
Toll Free flag=n - local access rates, check comfi.com card info for local access cities list and access numbers
Examples:
cardinal card origination (country, rate(cents), toll_free_flag),
cardinal card termination (country, rate(cents))
Calling Card Info
tp=card_company

Card Company Description, xml, serialized_php, table

Card company ID, name, path to the card's image, letter to the customer, path to a little image, information about the company, buy info, guides, access number, parameters, customer service telephone numbers.

tp=card, tp=card_p

available for sell card nominations, table

Card ID, card type ID (see table), card company ID, name, card nominal value (USD).

Special Exports
tp=avl_card&id_country_from=..&id_country_to=... XML ONLY
card sorted by rates for given from-to countries
usa-usa example
tp=avl_card_tab&id_country_from=..&id_country_to=... TAB DELIMITED ONLY
card sorted by rates for given from-to countries
usa-usa example, fields description
Rates to selected destinations Export php serialized array, xml
xml export by zones
Card Rating and Rates From / To Destinations
Good for writing own phone card listings
php serialized array, xml, yaml, human
Format:
array[
0 => array[ id_card_company => array[ local_rate, toll_free_rate, y/n - is_local ], ... ] « card sorted by local rate
1 => array[ id_card_company => array[ local_rate, toll_free_rate, y/n - is_local ], ... ] « webcall cards
2 => array[ id_card_company => array[ local_rate, toll_free_rate, y/n - is_local ], ... ] « pc2phone cards
conference => array[ id_card_company => array[ local_rate, toll_free_rate, y/n - is_local ] ] « conference call products
webcall => array[ id_card_company => array[ local_rate, toll_free_rate, ] ] « ...
smscall => array[ id_card_company => array[ local_rate, toll_free_rate, ] ] « ...
pc2phone => array[ id_card_company => array[ local_rate, toll_free_rate, ] ] « ...
]
Specific Destinations and Related data export for given call_from / call_to
used for building right block on comfi.com
human, php serialized array, xml
Format:
array[
ct_name= country_to_name
cf_name= country_from_name
callback= webcall rate
rev_dir= reverse direction call best rate country_to_name -> country_from_name
lowest= best rate
rates_text= related destinations (cities) rates as text
specific= related destinations (cities) rates as html
pc2p_rev= pc2phone rate
cell - call to cell phone rate
cell_name - cell destination as text
]
Popular countries (from-to) serialized php