Is there a public api to get all current profiles? I am playing with the thought of doing some data analysis, but I do not want to do it manually ;)
You can get the unit porfiles in JSON via this link: https://api.corvusbelli.com/army/units/en/XXX Where XXX is the Faction ID. You can get these here https://api.corvusbelli.com/army/infinity/en/metadata
I only get {"message":"Forbidden"} when I go to either link. I tried with Chrome and Firefox Same result if I call https://api.corvusbelli.com/army/units/en/101 (I have read that this would be PanO) Firefox is listing this as information for the response: X-Firefox-Spdy h2 access-control-allow-origin * content-encoding gzip content-length 43 content-type application/json date Sun, 07 May 2023 06:31:04 GMT referrer-policy no-referrer-when-downgrade via 1.1 b43c04a791e8dcb8ddb6bb0847fcf95a.cloudfront.net (CloudFront) x-amz-apigw-id EifSbHFeDoEF85g= x-amz-cf-id 1b5IEToOxp1KnpqoWgGIDSbAqn2AFeVTjW6Xa7gUo-5_Z_u6X9GJQQ== x-amz-cf-pop FRA60-P3 x-amzn-errortype ForbiddenException x-amzn-requestid e6afe577-b246-4b04-9907-8028a3c179f3 x-cache Error from cloudfront Do the links work for anyone else?
Within the request headers you have to add Origin "https://infinitytheuniverse.com" Then it gives you the correct response. You could use https://www.postman.com/ for easier use.