Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi, i have a field of IP Addresses in my dataset which i would like to convert to country. I have tried using the API from https://ipstack.com/ however i seem to be getting an error that my API key is not valid (which i know it is). Any ideas on what i am doing wrong?
(#"IP Address" as text) =>
let
Source = Json.Document(Web.Contents("http://api.ipstack.com/" & #"IP Address" & "?access_key= MY KEY
&format=1")),
#"Converted to Table" = Record.ToTable(Source),
#"Transposed Table" = Table.Transpose(#"Converted to Table"),
#"Promoted Headers" = Table.PromoteHeaders(#"Transposed Table")
in
#"Promoted Headers"
Hi @adam_macs ,
See the following thread to if helps.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
thanks @v-cgao-msft , i checked out the link but the API looks to have changes since then. Thanks anyway