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 All #3

Closed
Emucr opened this issue Jul 27, 2017 · 1 comment
Closed

Add All #3

Emucr opened this issue Jul 27, 2017 · 1 comment

Comments

@Emucr
Copy link

Emucr commented Jul 27, 2017

Can you add an add all feature for CPR ITEMS

@relrelb
Copy link
Collaborator

relrelb commented Nov 17, 2017

This can be accomplished by writing a custom script. For example, to add all items with ID < 1000:

from login import login
from client import ClientError

with login() as client:
	for item in xrange(1, 1000):
		try:
			client.add_item(item)
		except ClientError:
			pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants