Jump to content
Not connected, Your IP: 3.209.80.87

Search the Community

Showing results for tags 'api'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • AirVPN
    • News and Announcement
    • How-To
    • Frequently asked questions
    • Databases
  • Community
    • General & Suggestions
    • Troubleshooting and Problems
    • Blocked websites warning
    • Eddie - AirVPN Client
    • Reviews
    • Other VPN competitors or features
    • Nonprofit
    • Off-Topic
  • Other Projects
    • IP Leak
    • XMPP
    • Mirrors

Product Groups

  • AirVPN Access
  • Coupons
  • Misc

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Mastodon


AIM


MSN


ICQ


Yahoo


XMPP / Jabber


Skype


Location


Interests

Found 8 results

  1. For anyone who likes programming with Python, I started a project called AirPy on Github, https://github.com/Delphae/AirVPN AirPy is a Python wrapper around the AirVPN API which everybody can use, which some of you already heard of. The API is very useful to determine your connection, your server connected to and your user info Take a look at https://airvpn.org/api/ to learn more about the free to use API of AirVPN. But the output is in JSON, XML and so on. To use the output in a Python program, in a Python console or in Jupyter I have created the AirPy module. I started it, just for fun. And to get familiar with Python and Object Oriented Programming (I learned programming the old school way: procedures and functions :-)) On Github you will find the AirPy code as well as an example, in Python, how to use the AirPy module. Import the AirPy module with your personal API key and set the default country from AirPy import Airvpn APIKEY = "7de2aa122b7a42b9882d2f5b1e8ff30168ca6468" air = Airvpn(APIKEY,'nl') # when you are located in the Netherlands air = Airvpn(APIKEY,'gb') # when you are located in the UK, and so on Examples print (air.user) print (air.user.connected) print (air.user.login) print (air.connection) print (air.connection.server_name) print (air.sessions[0]) servers = air.servers() for server in servers: print (server) print (air.best()) print (air.rand()) So, if you think it is useful, use it. If you want to contribute, please do. If you have suggestions and improvements, do not hesitate to write them in this post.
  2. "status" API service is publicly available, no API key is needed. For example: curl https://airvpn.org/api/?format=json&service=status It'd be great if a permissive CORS header would be included in a response allowing any origin to access "status" API service. For example: Access-Control-Allow-Origin: * Further down the road, it'd useful to be able to say which origins are allowed to send requests with my API key, so it could be used for more advanced services cross-origin. Background info I'm working on my own config generator and I'd like to run it in a web browser. Workaround I can use https://cors-anywhere.herokuapp.com/ and such for the time being.
  3. I recently stumbled upon the AirVPN API. I'd like to use it but the data provided by the api seems to be lacking information about the second generation servers, i.e. additional entry IPs and ipv6 IPs (and whether those features are available). Am I missing something or - if my assumption is correct - are there any plans to update the API to include the missing data?
  4. I searched the forums a little bit, and didn't see any mention of this, but something that would be really awesome would be to expose the ability to see what ports are currently forwarded, and add or remove ports through the API, if possible. Maybe I'm missing something, but this seems like a killer feature.
  5. flat4

    API

    Is anyone using the API format? and how is it being used?
  6. What is the feasibility of adding the server's status (online, offline, imminent withdrawal, etc.) as a new Attribute name in an XML formatted API call? This would be very helpful for those of us wishing to rank servers and then select one for connection via openvpn. Thank you.
  7. What is the feasibility of adding the server's IP address as a new Attribute name in an XML formatted API call? This would be very helpful for those of us wishing to rank servers and then select one for connection via openvpn. Thank you.
  8. Hello AirVPN Staff and others. I would very much like to have an API call for creating and removing port forwardings, including requesting a random port. This would allow users to have a different port open for every session started. Setting up a port to be forwarded is already pretty simple, but it does still require having a web browser running and logging in to Air. This may be a small obstacle, but an obstacle nonetheless. I strongly suspect many people will set up a port forwarding only once, and then using the same port for all future sessions, and this has some negative implications for privacy. It is already possible to have this functionality when talking to Air's web server through a browser and clicking buttons manually, so I'm making the assumption it will not be too difficult to do the same through an official HTTP-based API. Does this make sense? I'd love to hear what you think.
×
×
  • Create New...