This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
pgoapi - Pokemon Go API | |
Copyright (c) 2016 tjado <https://github.com/tejado> | |
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Run with no args for usage instructions | |
# | |
# Notes: | |
# - will probably insert duplicate records if you load the same file twice | |
# - assumes that the number of fields in the header row is the same | |
# as the number of columns in the rest of the file and in the database | |
# - assumes the column order is the same in the file and in the database | |
# |