From 8928582d1ccc930a973c0aad7f6e9569d5168aa9 Mon Sep 17 00:00:00 2001 From: Andy Nonaka Date: Tue, 2 Jun 2020 09:09:45 -0700 Subject: [PATCH 1/2] readme --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b8e19ac --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +First, create a token to access the ADS api + +http://adsabs.github.io/help/api/ + +Copy this token into a file called .ads/dev_key + +A sample driver looks like: + +import author_network as an +names = ["Hix, W", + "Calder, A", + "Dubey, A", + "Fuller, G", + "Kasen, D", + "Mezzacappa, A", + "Roberts, L", + "Steiner, A", + "Burrows, A", + "Couch, S", + "Fryer, C", + "Nonaka, A", + "Messer, O", + "Reddy, S", + "Surman, R", + "Zingale, M"] +an.create_network(names, year=2015) From 6290cb20b44e24648aeac9c1589d5a77a78fa9a3 Mon Sep 17 00:00:00 2001 From: Andy Nonaka Date: Tue, 2 Jun 2020 09:10:30 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b8e19ac..51bb667 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ Copy this token into a file called .ads/dev_key A sample driver looks like: import author_network as an + names = ["Hix, W", "Calder, A", "Dubey, A", @@ -23,4 +24,5 @@ names = ["Hix, W", "Reddy, S", "Surman, R", "Zingale, M"] + an.create_network(names, year=2015)