https://github.com/creadone/opercodes
Микро-сервис для определения оператора по номеру телефона
https://github.com/creadone/opercodes
Last synced: 8 months ago
JSON representation
Микро-сервис для определения оператора по номеру телефона
- Host: GitHub
- URL: https://github.com/creadone/opercodes
- Owner: creadone
- Created: 2015-03-08T17:32:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-08T22:25:20.000Z (over 11 years ago)
- Last Synced: 2025-01-02T04:26:44.010Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 4.83 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Как с этим взлететь:
1. Клонировать репозиторий: git clone https://github.com/creadone/OperCodes.git
2. Установить полезные гемы: bundle install
3. Настроить все остальное: rake install
7. Сходить по ссылке: http://localhost:9292/api/v1/code/get_provider/?number=9151234567, где 9151234567 — номер мобильного телефона.
8. Если все хорошо, то в ответ вернется:
```json
{
abcdef: 926,
start: 0,
end: 9999999,
capacity: 10000000,
provider: "МегаФон",
city: "Москва и Московская область ",
region: null,
area: null,
area1: null
}
```