CallerPy

Build Status

An Open Source Caller-ID API

About Callerpy

Callerpy started as a simple pastime project. The aim was to develop a wrapper of some-sorts to accommodate CLI call to Truecaller's DB. Once success bared fruit,
moving the project to the web was the next logical step.

At first, I ran the API service and the generic web form. However, the API was put to sleep due to excessive bandwidth charges, and focus was kept on keeping the web form alive and stable.

Getting 3000 requests on 12 heroku dynos a day may seem nothing when compared with other well backed services...To me, it's a lot.

The new callerpy will focus on RESTful API calls for selective users.

The web form is down for good; those who wish to use the service can get the source-code from GITHUB

Projects Using CallerPy
Penbang
ArchAssault
CallerPy-SailfishOS

You can callerpy for free on GITHUB

Visit GITHUB Page

I am still getting a lot of emails requesting help with heroku's setup.
Althoug the web-app branch contains everything you'll need, I hope the following helps.

PROCFILE Assuming NewRelic is installed
newrelic-admin run-program gunicorn scriptname:app --preload --timeout int --max-request int

PhantomJS buildpack https://github.com/stomita/heroku-buildpack-phantomjs.git

Requirements Not all are needed for a workable app
Flask==0.10.1
Flask-WTF==0.10.0
Jinja2==2.7.2
MarkupSafe==0.23
WTForms==2.0.1
Werkzeug==0.9.4
argparse==1.2.1
gunicorn==18.0
itsdangerous==0.24
newrelic==2.18.1.15
selenium==2.37.0
sendgrid==0.5.4
smtpapi==0.1.2
unittest2==0.5.1
wsgiref==0.1.2

An ID is required for the new CallerPy API.

GET /api/v2/REST?id=YOUR ID&number=int&cc=int
{
"getWorld": [
{
"ADDRESS": "Fort Lauderdale, Florida, United States",
"AREA": "",
"COMPANY_NAME": "",
"COUNTRY": "United States",
"NAME": "Yahoo",
"NUMBER": "(800) 318-0612",
"STREET": "",
"TWITTER_NAME": "",
"TWITTER_SCREEN_NAME": "",
"ZIPCODE": ""
}
]
}

Due to changes by Truecaller, I am only able to retrieve the following {
"getWorld": [
{
"COUNTRY": "United States",
"NAME": "Yahoo",
"NUMBER": "(800) 318-0612",
}
]
}

Feel free to email me to request API access, provide me with suggestions, to get the #penbang password, or to just say hello!

mad_devlinuxmail.org