Code Monkey home page Code Monkey logo

ocpi.net's Introduction

ocpi.net's People

Contributors

liorbenari avatar yuriydurov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ocpi.net's Issues

Country code serialization strings values are lower case

Hi,
The Country Code serialization strings values that are defined on the library are of lower case.

public enum CountryCode : int

From what I see on the OCPI protocol (version 2.2.1), the Country Code values should be formatted according to the ISO-3166 alpha-2 protocol:
image
https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Meaning, Country Codes values should of upper case.

WDYT?
Did other clients of the library also raised this issue?
Currently, it's a problem for us to use the library OCPI modules objects, since the OCPI parties we are interacting with don't accept the lower case Country Codes.

Would be happy to hear your feedback regarding this.

Thanks,
Lior

Quickstart guide

I think we need a quickstart guide in our documentation explaining how to create a new OCPI-compliant service.

Routes should not be forced to start from version id

Hi! Appreciate your work very much, thank you!

One little problem that hounds me is that a route for ocpi controller HAS to start from the version id like
[Route("2.2/credentials")], for instance.

Because
var route = routes.FirstOrDefault(x => x.StartsWith(version.ToMemberValue()));
(OcpiVersionService.ParseEndpoint)

Could you please change it to something like
var route = routes.FirstOrDefault(x => x.Contains($"{version.ToMemberValue()}/"));
or
var route = routes.FirstOrDefault(x => x.StartsWith(version.ToMemberValue()) || x.Contains($"/{version.ToMemberValue()}/"));
to unblock me?

Documentation v1.0

This issue will be used to track progress on creating package documentation for all features implemented in OCPI.Net 1.0

OCPI modules objects base class

Hi @YuriyDurov,

Did you considered creating a base class for all the OCPI modules objects?
Maybe even only with the common "id", "last_updated" properties.
It might help handling more generically different OCPI modules objects.
Would be happy to hear what you think about this.

Thanks,
Lior

dotnet Maui support

Hi @YuriyDurov
1- Can the Nuget be installed in the dot net Maui-style mobile app?
2- Is there an event-driven model to receive endpoint updates?

Versions problem

hello, I wanted to try a web service with your library, but I am getting the following error, what could be the reason?

Thank you

Can not parse 'Receiver' to enum 'InterfaceRole'

Is OCPI provided from stations?

Hey,

I want to ask about OCPI as I didn't find any resource over the internet, who implements the OCPI?

There are two parties, the station provider and the mobile app provider. should the station provide the APIs to the provider or the opposite? are there any resources to read from?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.