{"id":150623,"date":"2025-12-04T23:12:00","date_gmt":"2025-12-04T21:12:01","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vypusk-geoip-0-1-0-realizaczii-rest-api-dlya-opredeleniya-mestopolozheniya-po-ip"},"modified":"2025-12-04T23:12:00","modified_gmt":"2025-12-04T21:12:01","slug":"vypusk-geoip-0-1-0-realizaczii-rest-api-dlya-opredeleniya-mestopolozheniya-po-ip","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/news\/vypusk-geoip-0-1-0-realizaczii-rest-api-dlya-opredeleniya-mestopolozheniya-po-ip","title":{"rendered":"Sortie de geoip 0.1.0, impl\u00e9mentation de l'API REST pour la localisation par IP","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>La premi\u00e8re version du projet geoip a \u00e9t\u00e9 publi\u00e9e, mettant en \u0153uvre un service pour obtenir des informations sur la localisation des adresses IP via une API REST. Le projet vise \u00e0 simplifier l'int\u00e9gration des fonctionnalit\u00e9s GeoIP dans diverses applications, lib\u00e9rant ainsi les d\u00e9veloppeurs de la n\u00e9cessit\u00e9 de g\u00e9rer les mises \u00e0 jour des bases de donn\u00e9es et de travailler avec le format MMDB. Le code est \u00e9crit en Rust et est distribu\u00e9 sous licence MIT. Il est pris en charge sur Linux, macOS et d'autres syst\u00e8mes de type UNIX.    <\/p>\n<p>Fonctionnalit\u00e9s principales du service :  <\/p>\n<ul>\n<li class=\"l\"> Haute performance et faible consommation de m\u00e9moire, gr\u00e2ce \u00e0 l'utilisation d'un langage compil\u00e9 en code machine sans ramasse-miettes.\n<li class=\"l\"> Fourniture d'informations sur l'adresse IP (pays, ville, code postal, coordonn\u00e9es, op\u00e9rateur de t\u00e9l\u00e9communication, etc.) via l'API REST bas\u00e9e sur les donn\u00e9es MaxMind GeoLite2 (gratuit) et MaxMind GeoIP2 (payant).\n<li class=\"l\"> D\u00e9termination de l'actuel <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/fr\/lir\/ipv4\/\"   title=\"adresses IP\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"741\">adresses IP<\/a> utilisateur (disponible via un point de terminaison s\u00e9par\u00e9 ; le param\u00e8tre ip du point de terminaison principal est facultatif).\n<li class=\"l\">  Mise \u00e0 jour automatique configurable des bases de donn\u00e9es (\u00e0 partir des ressources officielles de MaxMind en utilisant l'ID de compte et la cl\u00e9 de licence, ou \u00e0 partir d'une URL utilisateur avec prise en charge de l'authentification ; il est possible de sp\u00e9cifier l'intervalle de v\u00e9rification des mises \u00e0 jour).\n<li class=\"l\">  Interface web pour l'envoi manuel de requ\u00eates, y compris un support optionnel pour l'affichage sur OpenStreetMap.  <center><img decoding=\"async\" alt=\"Sortie de geoip 0.1.0, impl\u00e9mentation de l&#039;API REST pour la localisation par IP\" src=\"\/wp-content\/uploads\/2025\/12\/d2489b99ef95e337ca6ecf1cea1c2347.png\" style=\"display:block;margin: 0 auto;\" \/><\/center>\n<li class=\"l\">  Pour tous les r\u00e9sultats contenant le champ timezone, un champ suppl\u00e9mentaire posix_timezone est automatiquement g\u00e9n\u00e9r\u00e9 (par exemple, Europe\/Paris se transforme en CET-1CEST,M3.5.0,M10.5.0\/3). Cela assure la configuration automatique du fuseau horaire sur les dispositifs embarqu\u00e9s (par exemple, ESP32 et d'autres cibles newlib sans tzdata int\u00e9gr\u00e9). Cette fonctionnalit\u00e9 est unique et absente dans des solutions similaires.\n<li class=\"l\"> Mise \u00e0 jour automatique de la base de donn\u00e9es des fuseaux horaires (l'intervalle, la source et l'authentification sont configurables ; par d\u00e9faut, le site officiel de l'IANA est utilis\u00e9). En cas de d\u00e9sactivation des mises \u00e0 jour, la base de donn\u00e9es syst\u00e8me est appliqu\u00e9e.\n<li class=\"l\">  Possibilit\u00e9 de t\u00e9l\u00e9charger les archives actuelles des bases de donn\u00e9es via HTTP directement depuis le service (ce qui permet d'utiliser une instance comme source proxy pour d'autres et de r\u00e9duire la consommation de quota MaxMind).\n<li class=\"l\"> Support de la protection des points de terminaison via une cl\u00e9 API optionnelle.\n<li class=\"l\">  Disponibilit\u00e9 d'une sp\u00e9cification OpenAPI et d'une interface Swagger UI int\u00e9gr\u00e9e pour faciliter l'int\u00e9gration avec vos projets.\n<li class=\"l\"> Fourniture d'une image Docker pr\u00eate \u00e0 l'emploi pour un d\u00e9ploiement rapide :    docker run &#092;  \t-e MAXMIND_ACCOUNT_ID=XXXX &#092;  \t-e MAXMIND_LICENCE_KEY=YYYY &#092;  \t-e OSM_TILES_URL=&#187;https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png&#187; &#092;  # optionnel  \t-v geoip_data:\/data &#092;  \t-p 8080:8080 &#092;  \tghcr.io\/quoi-dev\/geoip:latest    <\/ul>\n<p>Source : <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=64372\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 geoip, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0438 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 REST API. \u041f\u0440\u043e\u0435\u043a\u0442 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 GeoIP-\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043e\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c MMDB. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 MIT. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0432 Linux \u0438 macOS, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":150624,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-150623","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 geoip, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0438 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 REST API.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/news\/vypusk-geoip-0-1-0-realizaczii-rest-api-dlya-opredeleniya-mestopolozheniya-po-ip\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a geoip 0.1.0, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 REST API \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e IP | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 geoip, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0438 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 REST API.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/news\/vypusk-geoip-0-1-0-realizaczii-rest-api-dlya-opredeleniya-mestopolozheniya-po-ip\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-12-04T21:12:01+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-12-04T21:12:01+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Lancement de geoip 0.1.0, impl\u00e9mentation de l'API REST pour la g\u00e9olocalisation par IP | ProHoster","description":"Le premier lancement du projet geoip a eu lieu, mettant en \u0153uvre un service permettant d'obtenir des informations sur l'emplacement des adresses IP via une API REST.","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/news\/vypusk-geoip-0-1-0-realizaczii-rest-api-dlya-opredeleniya-mestopolozheniya-po-ip","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u043f\u0443\u0441\u043a geoip 0.1.0, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 REST API \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e IP | ProHoster","og:description":"\u0421\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 geoip, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0438 IP-\u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 REST API.","og:url":"https:\/\/prohoster.info\/fr\/blog\/news\/vypusk-geoip-0-1-0-realizaczii-rest-api-dlya-opredeleniya-mestopolozheniya-po-ip","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2025-12-04T21:12:01+00:00","article:modified_time":"2025-12-04T21:12:01+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"150623","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-08 20:36:23","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 16:25:22","updated":"2026-02-08 20:36:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/150623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=150623"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/150623\/revisions"}],"predecessor-version":[{"id":157932,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/150623\/revisions\/157932"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media\/150624"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=150623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=150623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=150623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}