This file contains 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
Using MongoDB in golang with mgo |
This file contains 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
############ REQUIREMENTS #################### | |
# sudo apt-get install python-pip | |
# sudo apt-get install libpq-dev | |
# sudo pip install psycopg2 | |
# sudo pip install sqlalchemy | |
# sudo pip install sqlalchemy-redshift | |
############################################## | |
import sqlalchemy as sa | |
from sqlalchemy.orm import sessionmaker |
This file contains 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
### READ ME :::) | |
# You can fetch issues with highest frequeny from sentry using this script. | |
# It will fetch top 100 issues and some meta information related to that issue. | |
# And write everything is a csv file separated with "~" | |
# you can change environment=production in the URL used to make api call below. Please refer your project to see environment options available. | |
#### IMPO :: please change token and your organization URL/Project_Name (org_and_project) below : | |
import json | |
import requests | |
import csv |
OlderNewer