mirror of
https://github.com/cfultz/MTGScryDL.git
synced 2025-01-18 07:56:45 +01:00
updated README.md, added LICENSE.md
This commit is contained in:
parent
14b7cbe582
commit
7988861283
7
LICENSE.md
Normal file
7
LICENSE.md
Normal file
@ -0,0 +1,7 @@
|
||||
Copyright 2024 Caleb Fultz aka cfultz
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
48
README.md
48
README.md
@ -1 +1,49 @@
|
||||
# MTGScryDL
|
||||
|
||||
I'm learning Python and love Magic: The Gathering. I decided that I wanted to attempt to download all of my cards from a CSV file I created using the awesome app for Android called [Delver Lens](https://www.delverlab.com/).
|
||||
|
||||
This script reaches out to Scryfall with your list of ID's creates the API call, pulls the name, set, and image then downloads the card images into a directory while naming them correctly.
|
||||
|
||||
This is a work in progress, please don't beat me up to hard on my coding.
|
||||
|
||||
I have added my current "more Modern" list of cards that I have scanned so far for reference, but basically you'll just need a table column named ``Scryfall IDs`` and you're off to the races.
|
||||
|
||||
<img src="wot-25-rhystic-study.jpg" width="150px"/><img src="wot-79-sneak-attack.jpg" width="150px"/><img src="spg-21-show-and-tell.jpg" width="150px"/><img src="mkm-94-massacre-girl-known-killer.jpg" width="150px"/>
|
||||
|
||||
## Requirements
|
||||
|
||||
You'll need the following to run this script
|
||||
|
||||
### Python Version and Libraries:
|
||||
```
|
||||
- python3
|
||||
- requests
|
||||
- json
|
||||
- pandas
|
||||
- time
|
||||
- shutil
|
||||
```
|
||||
### Directories inside script directory titled (you'll need to change directory paths in script):
|
||||
```
|
||||
- images/single
|
||||
- images/multi
|
||||
- images/multi/backs
|
||||
```
|
||||
### CSV file of collection with Scryfall ID's column
|
||||
```
|
||||
- all_cards.csv
|
||||
```
|
||||
|
||||
## Python code licensed under MIT
|
||||
```
|
||||
|
||||
|
||||
Copyright 2024 Caleb Fultz aka cfultz
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
```
|
BIN
mkm-94-massacre-girl-known-killer.jpg
Normal file
BIN
mkm-94-massacre-girl-known-killer.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 KiB |
BIN
spg-21-show-and-tell.jpg
Normal file
BIN
spg-21-show-and-tell.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 KiB |
BIN
wot-25-rhystic-study.jpg
Normal file
BIN
wot-25-rhystic-study.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 150 KiB |
BIN
wot-79-sneak-attack.jpg
Normal file
BIN
wot-79-sneak-attack.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 151 KiB |
Loading…
Reference in New Issue
Block a user