Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


codyc1515

1598 posts

Uber Geek
Inactive user


#93482 22-Nov-2011 16:18
Send private message

Hi all,

I have spent the most part of today developing what I have called the "Open Cellular Usage API". It allows you to see in json and xml:
  • Prepaid Balance/Money Owing
  • Phone Number (when using a username to sign in)
  • Voice minutes left, allocated and expiry dates
  • Texts left, allocated and expiry dates
  • Data in MB left, allocated and expiry dates
This could come in handy for developing, say, a My Telecom app that somebody wanted in a different thread. More information on how to use the API is available here: http://www.codycooper.co.nz/usage-api/

Cheers,
Cody

Create new topic
Zeon
3916 posts

Uber Geek

Trusted

  #548527 22-Nov-2011 16:22
Send private message

Very cool, well done! Too bad the providers themselves don't have APIs....




Speedtest 2019-10-14




freitasm
BDFL - Memuneh
79250 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #548530 22-Nov-2011 16:27
Send private message

Interesting idea, and good one for creating it. However, people would need a lot of "trust" to use that, seeing they have to send their passwords to an app and that will in turn pass it on to your site.





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


shadou
30 posts

Geek


  #548535 22-Nov-2011 16:43
Send private message

Not much of an API without the codez. Super concerned about what you are doing with logins/passwords.

If you had a version of this available that I could run locally *I* might actually test it. Good luck with your scam! =( 



johnr
19282 posts

Uber Geek
Inactive user


  #548538 22-Nov-2011 16:50
Send private message

shadou: Not much of an API without the codez. Super concerned about what you are doing with logins/passwords.

If you had a version of this available that I could run locally *I* might actually test it. Good luck with your scam! =( 


I don't believe Codyc is doing this to scam anyone,

freitasm
BDFL - Memuneh
79250 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #548540 22-Nov-2011 16:52
Send private message

I wouldn't say scam, but seeing how Cody has previously been so worried about people collecting information on the Internet, making a service like this available without proper privacy policy in place and full source code disclouse is a bit out of the norm.




Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


possum888
24 posts

Geek

ID Verified

  #548543 22-Nov-2011 16:54
Send private message

Here's a couple of things I'd suggest:
  • SSL encryption: I don't think many people would be happy sending their passwords over a plaintext connection. Even though it's only your mobile usage, it's still a password and needs to be protected.
  • Legality: make sure you have permission to 'screen scrape' the providers websites.
  • Privacy Policy: write one of these up so people know if and/or how you are storing their data. How do I know that you aren't storing my mobile number and password in a database?
Other than those points I think it's a really great idea! 

codyc1515

1598 posts

Uber Geek
Inactive user


  #548561 22-Nov-2011 17:32
Send private message

possum888: Here's a couple of things I'd suggest:
  • SSL encryption: I don't think many people would be happy sending their passwords over a plaintext connection. Even though it's only your mobile usage, it's still a password and needs to be protected.
  • Legality: make sure you have permission to 'screen scrape' the providers websites.
  • Privacy Policy: write one of these up so people know if and/or how you are storing their data. How do I know that you aren't storing my mobile number and password in a database?
Other than those points I think it's a really great idea! 

SSL encryption: This is not possible on the current, personal server that I am using but is a possibility in the future. Security was one of the things that I thought about when making it, I think what I will probably do is allow people to send a shared key with the query and encrypt the details using a secret key and aes encryption.
Legality: Who might I contact to get permission to do this? johnr?
Privacy Policy: I am not storing data, except standardized logs (like any other server, containing IP, etc.). I am not storing your details in a database.

 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
codyc1515

1598 posts

Uber Geek
Inactive user


  #548610 22-Nov-2011 18:59
Send private message

codyc1515:
possum888: Here's a couple of things I'd suggest:
  • SSL encryption: I don't think many people would be happy sending their passwords over a plaintext connection. Even though it's only your mobile usage, it's still a password and needs to be protected.
  • Legality: make sure you have permission to 'screen scrape' the providers websites.
  • Privacy Policy: write one of these up so people know if and/or how you are storing their data. How do I know that you aren't storing my mobile number and password in a database?
Other than those points I think it's a really great idea! 

SSL encryption: This is not possible on the current, personal server that I am using but is a possibility in the future. Security was one of the things that I thought about when making it, I think what I will probably do is allow people to send a shared key with the query and encrypt the details using a secret key and aes encryption.
Legality: Who might I contact to get permission to do this? johnr?
Privacy Policy: I am not storing data, except standardized logs (like any other server, containing IP, etc.). I am not storing your details in a database.

I've since clarified all of the data usage with a simple Privacy Policy. I have also added in some instructions for encrypting the transmission of data.

codyc1515

1598 posts

Uber Geek
Inactive user


  #552312 1-Dec-2011 16:09
Send private message

I have since pushed over all of the latest changes:
  • It is now available for download from: http://code.google.com/p/open-cellular-usage-api/
  • It is licensed under the 2-clause BSD license ("Simplified BSD License" or "FreeBSD License")
  • It now has a read me file explaining how the various files work
  • It also includes example pages that are returned from the carriers once the API has been authenticated for:
    • Vodafone NZ
      • PrePaid
      • Contract
    • Telecom NZ
      • PrePaid
      • Contract (Don't have one to test on, so may not work correctly)
    • 2degrees (Don't have one to test on, so does not work)
      • PrePaid
      • Contract
Hopefully all of this should speed up adoption of the project and resolves the whole "trust" issue.

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.