Skip to content

Instantly share code, notes, and snippets.

import boto3
import time
from datetime import timedelta
import sys
import os
import argparse
#We need to get our API credentials in the code for authentication that we have stored as Environment Variables locally.
os.environ.get("AWS_ACCESS_KEY_ID")
import boto3
import time
from datetime import timedelta
import sys
import os
import argparse
#We need to get our API credentials in the code for authentication that we have stored as Environment Variables locally.
os.environ.get("AWS_ACCESS_KEY_ID")
import boto3
import time
from datetime import timedelta
import sys
import json
import os
#We need to get our API credentials in the code for authentication that we have stored as Environment Variables locally.
os.environ.get("AWS_ACCESS_KEY_ID")
from google.cloud import language
from google.cloud.language import enums
from google.cloud.language import types
import os
import time
from datetime import timedelta
import sys
import argparse
import io
import os
import time
from datetime import timedelta
import sys
import argparse
#We need to get our API credentials in the code for authentication that we have stored as Environment Variables locally.
os.environ.get("GOOGLE_APPLICATION_CREDENTIALS")
import io
import os
from google.cloud import vision
from google.cloud.vision import types
import time
from datetime import timedelta
import sys
import argparse
import requests
import os
import sys
import json
import time
from datetime import timedelta
import argparse
#We need to get our API credentials in the code for authentication that we have stored as Environment Variables locally
import http.client
import urllib.parse
import json
from xml.etree import ElementTree
import os
import sys
import wave
import time
from datetime import timedelta
import argparse
import requests
import os
import sys
import time
from datetime import timedelta
import argparse
#We need to get our API credentials in the code for authentication that we have stored as Environment Variables locally
Ocp_Apim_Subscription_Key = os.environ.get("KEY")
import json
from watson_developer_cloud import NaturalLanguageUnderstandingV1
from watson_developer_cloud.natural_language_understanding_v1 \
import Features, EntitiesOptions, KeywordsOptions
import time
from datetime import timedelta
import sys
import os
import argparse