pantherale0 / pyfuelprices

An expandable Python fuel prices library
MIT License
2 stars 2 forks source link

New Zealand: Gaspy #3

Closed pantherale0 closed 4 months ago

pantherale0 commented 10 months ago

https://www.gaspy.nz/stats.html

pantherale0 commented 4 months ago

This package uses Firebase as its backend. Need to query the FB DB manually to see what it returns:

  <string name="firebase_database_url">https://gaspy-3baaf.firebaseio.com</string>
    <string name="flutter_shared_pref_name">nz.hwem.gaspy.shared_prefs</string>
    <string name="gcm_defaultSenderId">33245455747</string>
    <string name="google_api_key">AIzaSyAg6eV7YrN1zJDQ1dwc67-bIS7VLds1Dxk</string>
    <string name="google_app_id">1:33245455747:android:b53def0d9b905e7b</string>
    <string name="google_crash_reporting_api_key">AIzaSyAg6eV7YrN1zJDQ1dwc67-bIS7VLds1Dxk</string>
    <string name="google_storage_bucket">gaspy-3baaf.appspot.com</string>
deanfourie1 commented 4 months ago

Any update on this? Any plans for support for New Zealand? Thanks

pantherale0 commented 4 months ago

Gaspy is a bit more involved than originally thought as I need to reverse engineer the mobile app itself and pull the data classes to figure out the firebase calls.

I might implement petrolspy instead as that appears to support NZ prices: https://petrolspy.com.au

pantherale0 commented 4 months ago

Added petrolspy in 2.6.2 for now. Will be added to the HA integration in next release.

pantherale0 commented 4 months ago

image

Integration tested.