{"id":16791900,"url":"https://github.com/ankohanse/evnex","last_synced_at":"2025-03-17T02:13:56.517Z","repository":{"id":144198220,"uuid":"267757134","full_name":"ankohanse/EVNEX","owner":"ankohanse","description":"Unofficial API for EVNEX charge points","archived":false,"fork":false,"pushed_at":"2022-03-21T01:47:47.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T12:09:17.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankohanse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-29T03:33:54.000Z","updated_at":"2022-03-21T01:38:55.000Z","dependencies_parsed_at":"2023-06-16T09:00:13.961Z","dependency_job_id":null,"html_url":"https://github.com/ankohanse/EVNEX","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankohanse%2FEVNEX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankohanse%2FEVNEX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankohanse%2FEVNEX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankohanse%2FEVNEX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankohanse","download_url":"https://codeload.github.com/ankohanse/EVNEX/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960666,"owners_count":20375105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T08:43:25.945Z","updated_at":"2025-03-17T02:13:56.494Z","avatar_url":"https://github.com/ankohanse.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EVNEX\nThis is the unofficial API for EVNEX charge points.\n\nDisclaimer: the author of this software is not associated with EVNEX.com.\n\n\n### Example use\n```\n// Initialize using same username and password as used \n// for the iOS/Android EVNEX app\nvar evnex = new EvnexV2( \"evnexUsername\", \"evnexPassword\" );\n\n// Get user\ndynamic user = await evnex.GetUser();\n\nConsole.WriteLine($\"GetUser():\");\nConsole.WriteLine(user);\n\t\t\t\t\nstring  userId = user.id;\nstring  orgId  = ((IEnumerable\u003cdynamic\u003e)user.organisations).Where(o =\u003e o.isDefault).Select(o =\u003e o.id).FirstOrDefault();\n\n// Get indicated organization details\ndynamic org  = await evnex.GetOrg(orgId);\n\nConsole.WriteLine($\"GetOrg({orgId}):\");\nConsole.WriteLine(org);\n\n// Get all chargepoints of indicated organization\ndynamic chargepoints = await evnex.GetOrgChargePoints(orgId);\n\nConsole.WriteLine($\"GetOrgChargePoints({orgId}):\");\nConsole.WriteLine(chargepoints);\n\nstring chargepointId = chargepoints.items[0].id;\nstring connectorId   = chargepoints.items[0].connectors[0].connectorId;\nstring locationId    = chargepoints.items[0].location.id;\n\n// Get details of indicated chargepoint\ndynamic chargepoint  = await evnex.GetChargePoint(chargepointId);\n\nConsole.WriteLine($\"GetChargePoint({chargepointId}):\");\nConsole.WriteLine(chargepoint);\n\n// Get transactions of indicated chargepoint\ndynamic transactions = await evnex.GetChargePointTransactions(chargepointId);\n\nConsole.WriteLine($\"GetChargePointTransactions({chargepointId}):\");\nConsole.WriteLine(transactions);\n\n// Get organization insights for last x days\ndynamic insights = await evnex.GetOrgInsights(orgId, 7);\n\nConsole.WriteLine($\"GetOrgInsights({orgId},7):\");\nConsole.WriteLine(transactions);\n\n// Get location details\ndynamic location = await evnex.GetLocation(locationId);\n\nConsole.WriteLine($\"GetLocation({locationId}):\");\nConsole.WriteLine(location);\n```\n\n\n### License\nThis project is published under the MIT license:\n\nCopyright (c) 2019-2022 Anko Hanse\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankohanse%2Fevnex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankohanse%2Fevnex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankohanse%2Fevnex/lists"}