Skip to content

A whois program for French telephone numbers (2013)

Notifications You must be signed in to change notification settings

marin-m/whoistel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whoistel, a whois program for french telephone numbers

This is a work from 2013, written in Python 2.

The program uses the following information sources:

Using whoistel

./whoistel.py <french telephone number> [--no-annu] [--no-ovh]

You need Python 2.7 to run this script.

ARCEP's databases

Annu.com's API

http://v3.annu.com/cgi-bin/srch.cgi

GET parameters:

  • j: 1 (removing this parameter sets the Content-Type header to text/html instead of text/plain)
  • s: the phone number
  • n: the maximum number of results
  • i: 062C706C-A373-402E-B62A-89994449CD16 (this parameter apparently may be removed or modified without difference)
  • lat/long: user's position? These parameters aren't mandatory and looks useless, that's maybe for Iliad's statistics

OVH's AJAX eligibility check

https://www.ovhtelecom.fr/cgi-bin/ajax/ajaxEligibilityCheck.cgi

GET parameters:

  • number: the phone number
  • lightRequest: yes if you want less informations
  • fromIndexBar: yes if the content is loaded from ovhtelecom.fr's homepage. This parameter looks useless
  • callback: a function name if you want to use JSONP, otherwise don't send this parameter

Useful Wikipedia pages

Informations about surcharged calls

TODO

  • Use this database to show all cities composing a ZNE, not only the chief town
  • Maybe add a backend for a website allowing to access the data of the G'NUM database
  • Create a database about the surcharge of four-digits numbers
  • Choose a language for the script and the README between French, English, or Frenglish
  • Find a INSEE database that contains the name of cities with normal case
  • Build packages for various distributions

About

A whois program for French telephone numbers (2013)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published