- Add a new ip-api client to the project. - This client uses the ip-api.com API to get IP information. - An example is provided in `examples/develop/ipapi`. Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
9 lines
260 B
GLSL
Executable File
9 lines
260 B
GLSL
Executable File
#!/usr/bin/env -S v -n -w -gc none -no-retry-compilation -d use_openssl -enable-globals run
|
|
|
|
import freeflowuniverse.herolib.clients.ipapi
|
|
import os
|
|
|
|
mut ip_api_client := ipapi.get()!
|
|
info := ip_api_client.get_ip_info('37.27.132.46')!
|
|
println('info: ${info}')
|