opencost / opencost-plugins

Plugins for extending OpenCost with new Custom Cost Sources
Apache License 2.0
15 stars 9 forks source link

PlanetScale Plugin #50

Open ameijer opened 1 week ago

ameijer commented 1 week ago

Is your feature request related to a problem? Please describe. Develop a PlanetScale plugin for the OpenCost Plugins ecosystem

Additional context Planet Scale billing APIs: https://planetscale.com/changelog/billing-api-endpoints

Example PR with an implemented Plugin: https://github.com/opencost/opencost-plugins/pull/41 This issue qualifies for our bounty program, read more details here: https://www.opencost.io/blog/introducing-opencost-plugins

Brijeshthummar02 commented 1 week ago

@ameijer i can work on it, need your guide and provide me path to the repo and where to add files.

ameijer commented 1 week ago

@Brijeshthummar02 that is exciting! I'll assign this task to you so nobody else takes it. The README has a good guide on how to set up the files, and you can look at the existing plugins for guidance... and can copy/paste one of the plugins into your new folder to get a start. Why don't you go read that stuff and see what you think? happy to help with any specific questions you have after doing that

Brijeshthummar02 commented 1 week ago

@ameijer as i have added specific files but not complete PlanetScale Plugin, could you help me by giving all specific and relevent info about it.

ameijer commented 4 days ago

Brijesh, what sort of info are you looking for? also, can you put up a PR and link it so I can see what code you have?

Brijeshthummar02 commented 4 days ago

As i'm new to it so i'm not completely sure about full addon and files i've added will work or not, also i'm creating a pr go through it once.