Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add export tool to https://peeringdb.com/cp/peeringdb_server/$type #586

Open
arnoldnipper opened this issue Oct 12, 2019 · 6 comments
Open

Add export tool to https://peeringdb.com/cp/peeringdb_server/$type #586

arnoldnipper opened this issue Oct 12, 2019 · 6 comments
Assignees
Labels
AC
Milestone

Comments

@arnoldnipper
Copy link
Contributor

@arnoldnipper arnoldnipper commented Oct 12, 2019

For any of the items in https://peeringdb.com/cp/peeringdb_server/$type add a button to export the data to a CSV file. E.g. to be able to have CSV list of https://peeringdb.com/cp/peeringdb_server/user/?is_staff__exact=1

@arnoldnipper arnoldnipper self-assigned this Oct 12, 2019
@arnoldnipper arnoldnipper added the AC label Oct 12, 2019
@arnoldnipper

This comment has been minimized.

Copy link
Contributor Author

@arnoldnipper arnoldnipper commented Oct 12, 2019

@peeringdb/ac please make up your mind

@arnoldnipper

This comment has been minimized.

Copy link
Contributor Author

@arnoldnipper arnoldnipper commented Oct 12, 2019

@peeringdb/pc as this is AC only, please check and ideally support by adding +1

@netravnen

This comment has been minimized.

Copy link

@netravnen netravnen commented Oct 14, 2019

For any of the items in https://peeringdb.com/cp/peeringdb_server/$type add a button to export the data to a CSV file. E.g. to be able to have CSV list of https://peeringdb.com/cp/peeringdb_server/user/?is_staff__exact=1

I am in on this 😍 👍

Commentary input: It would be lovely for the export function to be available to consume [the output] from command-line tools. E.g.

  • curl -s -n -G -L -X GET -u <User>:<Pass> https://peeringdb.com/cp/peeringdb_server/user/?is_staff__exact=1&format=[json|csv] OR
  • curl -s -n -G -L -X GET -u <User>:<Pass> -H "Accept: application/json" https://peeringdb.com/cp/peeringdb_server/user/?is_staff__exact=1 OR
  • curl -s -n -G -L -X GET -u <User>:<Pass> -H "Accept: text/csv" https://peeringdb.com/cp/peeringdb_server/user/?is_staff__exact=1
@mcmanuss8

This comment has been minimized.

Copy link
Contributor

@mcmanuss8 mcmanuss8 commented Oct 14, 2019

+1 seems legit
As a general rule it'd be nice to export any widget on peeringdb but let's do it here and then think about how to make it more general later

@grizz

This comment has been minimized.

Copy link
Member

@grizz grizz commented Nov 4, 2019

+1

@shane-kerr

This comment has been minimized.

Copy link

@shane-kerr shane-kerr commented Nov 7, 2019

I really like @netravnen's suggestion. As I understand it, the buttons proposed in this ticket could actually just be links to the generic export URL. Indeed we could easily have a radio-button next to the button which specifies JSON (for devops folks) or CSV (for marketing people). 😉

@arnoldnipper arnoldnipper added this to the Decide milestone Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.