]> apps.delaporte.us Git - dotfiles.git/commitdiff
Get some basic info from a SalesForce API
authorEdward Delaporte <delaport@illinois.edu>
Thu, 14 Jan 2021 19:47:01 +0000 (13:47 -0600)
committerEdward Delaporte <delaport@illinois.edu>
Thu, 14 Jan 2021 19:47:01 +0000 (13:47 -0600)
enabled endpoint.

.gitignore
Toybox/salesforce.ps1 [new file with mode: 0644]

index 54d8b36880badc39e8fdb8761e0a5b2ef1228470..81ad23c76eb110259b07d922e6e3f9d3548a6229 100644 (file)
@@ -3,4 +3,5 @@ DONE.md
 .github_access_token
 env/*
 *.json
 .github_access_token
 env/*
 *.json
-OneTrust.ipynb
\ No newline at end of file
+OneTrust.ipynb
+*.conf
\ No newline at end of file
diff --git a/Toybox/salesforce.ps1 b/Toybox/salesforce.ps1
new file mode 100644 (file)
index 0000000..b2ce52c
--- /dev/null
@@ -0,0 +1,22 @@
+<#
+.SYNOPSIS
+Some notes on using the SalesForce API.
+
+.NOTES
+
+Requires PsIni
+
+> Install-Module PsIni
+
+#>
+
+$FileContent = Get-IniContent ".salesforce.conf"
+
+$url = $FileContent['salesforce']['url']
+Write-Output $url
+
+$aboutAPI = curl $url
+
+$aboutAPI | Format-List
+
+# Write-Output $aboutAPI.