dgzlopes / cloud-detect

Module that determines a host's cloud provider.
https://pypi.org/project/cloud-detect/
MIT License
35 stars 13 forks source link

Suport of MacStadium cloud #21

Open dfad1ripe opened 1 year ago

dfad1ripe commented 1 year ago

Hi, it would be great to see the MacStadium cloud supported. The one supposed test is to curl https://ipinfo.io/ and check if .org field of output is 'AS395336 MacStadium, Inc.'. Not sure if good API calls exist for that, as entire their API seems to require authentication.

kshivakumar commented 1 year ago

@dfad1ripe Just curious about your use case. Do you deploy your application on different cloud providers?

dfad1ripe commented 1 year ago

Yes, and I need to know in the application which cloud it runs in. For that, I use the JSON generated by that page at ipinfo.io, and analyze the .org field reported there, this satisfies my needs by now. To be honest, I do not plan to use your module in the nearest future, just suggesting that you might add one more provider to the list. :)