You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's still some more changes I'd like to do before getting into this, but I'll leave it as a request for now. PRs are more than welcome, since this may just require some processing on the front end to generate the API call from steam IDs and team name, flags, etc. Logos most likely won't be supported though.
I've been taking a bit of a break for now, so as I said PRs are definitely welcome on the import side of things. You would just need to sanitize input of the CSV, maybe provide a default CSV for users' to download, and just make sure it fits into the POST call when creating a team.
Re: to the the export. I'm very against this as this was the whole point of the API. You can get the raw data via JSON format by simply going to api/teams/myteams (https://phlex.avidgamers.me/api/teams/myteams as an example) to export all the info of the teams, minus the logo. However, the logos can also be inferred by going to the directory with the images and inputting the logo from the results (i.e. https://phlex.avidgamers.me/api/static/img/logos/4O3bD.png).
Plus, you could just write a small script that would go through each team block and create a post call with your API key to insert the teams as well then with that.
Hello.
This is a feature request to have possibility to import teams from *.CSV
The text was updated successfully, but these errors were encountered: