- Регистрация
- 25.01.2012
- Сообщения
- 1 058
- Благодарностей
- 244
- Баллы
- 63
Hi,
I'd like to synchronize a proxy-list from an web-api, that gives me a JSON format with my local MySQL database. As a result all proxies that are in the output of the JSON web-api shall stay in the DB (if they are already contained), otherwise they should be added. Additionally all proxies that are already in the DB but NOT contained in the JSON output of the web-api shall be updated in the DB (set table-columns "active" to "offline") or deleted.
Any help is much appreciated!
Thank you!
I'd like to synchronize a proxy-list from an web-api, that gives me a JSON format with my local MySQL database. As a result all proxies that are in the output of the JSON web-api shall stay in the DB (if they are already contained), otherwise they should be added. Additionally all proxies that are already in the DB but NOT contained in the JSON output of the web-api shall be updated in the DB (set table-columns "active" to "offline") or deleted.
Any help is much appreciated!
Thank you!