One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
UNUserNotificationCenter.current().getNotificationSettings { settings in | |
let authorizationStatus: UNAuthorizationStatus = settings.authorizationStatus | |
// Handle authorization status | |
} |
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: AWS::Serverless-2016-10-31 | |
Description: > | |
Sample CORS Configuration with CORS and API Gateway. | |
View the full post at https://broadwaylab.com/api-gateway-cors-configuration-with-cloudformation | |
Resources: | |
# Global API | |
AppApi: | |
Type: AWS::Serverless::Api |
<script type="text/javascript"> | |
!function(f,b,e,v,n,t,s) | |
{if(f.fbq)return;n=f.fbq=function(){n.callMethod? | |
n.callMethod.apply(n,arguments):n.queue.push(arguments)}; | |
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; | |
n.queue=[];t=b.createElement(e);t.async=!0; | |
t.src=v;s=b.getElementsByTagName(e)[0]; | |
s.parentNode.insertBefore(t,s)}(window, document,'script', | |
'https://connect.facebook.net/en_US/fbevents.js'); |
<template> | |
<div> | |
<amplify-authenticator v-bind:authConfig="authConfig"/> | |
</div> | |
</template | |
<script> | |
import { Auth } from "aws-amplify"; | |
export default { | |
name: 'SignIn', | |
data() { |
import json | |
import decimal | |
import os | |
import datetime | |
from facebook_business.adobjects.adaccount import AdAccount | |
from facebook_business.adobjects.adsinsights import AdsInsights | |
from facebook_business.api import FacebookAdsApi | |
account_uuid = '1d171536-e162-436c-8c47-1ff54456a3e4' | |
response = table.query( |
# Get Products | |
shop_url = "https://%s:%s@my-shop-url.myshopify.com/admin/api/%s" % ('username', 'password', '2020-01') | |
shopify.ShopifyResource.set_site(shop_url) | |
products = shopify.Product.find() | |
for product in products: | |
try: | |
print('====') | |
print(product.id) |