Jump to content
Not connected, Your IP: 3.145.72.44
Sign in to follow this  

Recommended Posts

Does Air have, or would it be possible to implement, a sort of HTTP API for its customers?

 

For example, I would like to be able to find out my external IP from within a script. Other kinds of data, like the statistics and other information that is visible on the "Overview" tab in the Client Area, could also be nice to have.

 

Some actions would be useful too, like disconnecting or opening external ports.

 

I have solved my actual problem of finding out my IP by asking an external server, but it seems like this sort of thing would be better handled by Air.

Share this post


Link to post

Hello!

 

Yes, it is possible, and the Ubertechie is completing its implementation. We are all confident it will be ready in the next 24 hours. :)

 

series.png

 

(see here for further references about some obscure Air operators, if you dare)

 

Please do not hesitate to send us your feedback, it will be much appreciated.

 

Kind regards

Share this post


Link to post

Cool! Would love to play with this, I'll be keeping an eye on the forum for announcements.

 

Edit: Damnit, just a few minutes too late. :-)

Share this post


Link to post

Ok, this is really cool. Thanks guys!

 

I see some things that could be improved; right now, using the test call to userinfo, it reports that "premium" is false, and that doesn't seem right. Maybe the "only if connected" portion of the user info could be separated out, I'm thinking something like this:

 

{
  "user" : { "login" : "mage1982", ... },
  "connection" : { "connected" : true , "vpn_ip" : "10.x.x.x", ... }
}

Seems natural to separate the two..

 

Edit: stop reformatting my post, stupid forum

Share this post


Link to post

Changelog:
- "Premium" field in "userinfo" service fixed.
- Nested group "user" & "connection" in "userinfo" service.
- Output format "text" now supports nested information.
- Updated FAQ.

 

Kind regards

Share this post


Link to post

Wow. I didn't expect you to be that quick (or even to agree with the suggestions).

 

I should ask for a pony next. :-)

 

 

Seriously though, I was already recommending Air to my friends, this is much more than I could have ever expected.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...