Skip to content

Instantly share code, notes, and snippets.

View dnwk's full-sized avatar

Delroy L. dnwk

  • University of Southern California
View GitHub Profile
@dnwk
dnwk / picodash_export_url_download.py
Last active March 1, 2022 22:30 — forked from krisrak/picodash_export_url_download.py
Python script to download urls in a csv file
#!/usr/bin/python
import os
import sys
import urllib
import csv
try:
filename = sys.argv[1]
url_name = sys.argv[2]
@dnwk
dnwk / update.php
Created November 12, 2020 02:01
Update URLs for Portfolios in Alma using API
<?php
$array = array('53144697050001867');
$collection_id = "61119399690001867";
$service_id = "62119399680001867";
$api_key = "l8xx";
foreach ($array as $portfolio_id ){
$url = 'https://api-na.hosted.exlibrisgroup.com/almaws/v1/electronic/e-collections/' . $collection_id . '/e-services/' . $service_id . '/portfolios/' . $portfolio_id . '?apikey=' . $api_key;
### Keybase proof
I hereby claim:
* I am dnwk on github.
* I am dnwklin (https://keybase.io/dnwklin) on keybase.
* I have a public key whose fingerprint is 206C 5C72 1AFC AD9B 9753 6291 9D01 C778 9B02 D47F
To claim this, I am signing this object:
@dnwk
dnwk / gist:9bc640b4a3956a268ba7a73a15a1cbee
Created September 30, 2016 21:50
https/http - book covers
URL template could be changed here:
Primo Home > Advanced Configuration > All Mapping Tables > Delievery > Templates