Addon for importing collection data via API ( json or csv )

As far as I know, there is no API to import the collection data, I mean not from the Cockpit dashboard.
E.g if I want to import the data via AJAX (Probably from frontend app), Cockpit doesn’t provide an API like that.
So, I made one for my project here.

I think this could help someone who’s looking for this type of API.