Microsoft Graph API
Global Microsoft 365 Developer Bootcamp 2019 Tokyo
- What's API
- Microsoft Graph API!
Microsoft Graph API
Global Microsoft 365 Developer Bootcamp 2019 Tokyo
本資料はsakura.io体験ハンズオンで使用するリンクをまとめたものです。ハンズオンでの進行に合わせてご利用ください。
各リンクは別タブで開くようにして進めるとスムーズです。
#! /usr/bin/env ruby | |
# | |
# ruby upload.rb user pass user/repo file '(description)' | |
# | |
require 'json' | |
if ARGV.size < 4 | |
puts "\nUSAGE: upload.rb [user] [pass] [user/repo] [filepath] ('description')" | |
exit |
# サイトURLを指定 | |
$webUrl = "http://yamasp2016/sites/es2_20160726" | |
# ページURLを指定 | |
$pageUrl = "Pages/page1.aspx" | |
Add-PSSnapin "Microsoft.SharePoint.PowerShell" | |
#サイトを取得 | |
$web = Get-SPWeb $webUrl | |
#ページ(SPFile)取得 |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
An introduction to curl
using GitHub's API.
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
#!/usr/bin/env python | |
''' | |
testing a login to meduele using sessions | |
meduele checks csrf tokens with every request, even during login | |
''' | |
import requests | |
from BeautifulSoup import BeautifulSoup | |
# need to capture a valid csrf token | |
# first visit the login page to generate one |
""" | |
Download all document links from a web page. | |
Used to extract all the docouments from a Sharepoint document library. | |
by Mike Koss, September, 2009 | |
Notes: | |
9/14/09 mck: | |
Using Beautiful soup version 3.0.7a. The current version (3.1.0.1) is NOT resilient |