From 6294c1537fb766649800c42974ff4d1aac5ef1c9 Mon Sep 17 00:00:00 2001 From: Joshua Holmgren Date: Fri, 25 Jul 2014 10:40:51 -0600 Subject: [PATCH 1/4] Updated README.md to make the first steps more clear. --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4f65104..dbb01da 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +Note: THIS IS NOT PRODUCTON CODE. This SDK is example code to get you started making programmatic calls to AlchemyAPI. + ================================ AlchemyAPI .NET SDK: version 0.10 ================================ @@ -12,10 +14,10 @@ MONO INSTALLATION -To compile this module, enter the "module" directory and run the "build.sh" +To compile this modul eand generate the AlchemyAPI.dll file, enter the "module" directory and run the "build.sh" script. -To install this module, copy the AlchemyAPI.dll file into your desired +To install this module, copy the AlchemyAPI.dll file created from the previous step into your desired .NET import directory, or set your MONO_PATH environment variable to point to the directory containing the compiled AlchemyAPI.dll file. @@ -70,10 +72,10 @@ Windows .NET INSTALLATION -To compile this module, enter the "module" directory and run the "build" +To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build" script. -To install this module, copy the AlchemyAPI.dll file into your desired +To install this module, copy the AlchemyAPI.dll file generated from the previous step into your desired .NET import directory. For purposes of running examples, the dll is copied into the example folder. From 16ddc794e1be930096dbb13afd8169e3ee7e4727 Mon Sep 17 00:00:00 2001 From: Joshua Holmgren Date: Fri, 25 Jul 2014 10:43:55 -0600 Subject: [PATCH 2/4] adding blank api_key.txt to example folder --- example/api_key.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 example/api_key.txt diff --git a/example/api_key.txt b/example/api_key.txt new file mode 100644 index 0000000..e69de29 From 406d340f89671d1d59bf2d7d832bb5e898955093 Mon Sep 17 00:00:00 2001 From: Joshua Holmgren Date: Fri, 25 Jul 2014 10:48:25 -0600 Subject: [PATCH 3/4] fixed spelling mistake in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dbb01da..fb6ccfb 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ MONO INSTALLATION -To compile this modul eand generate the AlchemyAPI.dll file, enter the "module" directory and run the "build.sh" +To compile this module and generate the AlchemyAPI.dll file, enter the "module" directory and run the "build.sh" script. To install this module, copy the AlchemyAPI.dll file created from the previous step into your desired From 1bf7667362969b1aa8eed31e5f42c24854ff1b75 Mon Sep 17 00:00:00 2001 From: Joshua Holmgren Date: Fri, 25 Jul 2014 11:18:19 -0600 Subject: [PATCH 4/4] changed Orchestr8 to AlchemyAPI in README.md removed deprecated GlobalProxySelection object from AlchemyAPI.cs class. --- README.md | 4 ++-- module/AlchemyAPI.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fb6ccfb..adc6fb6 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ and other tasks. All code samples are within the "example" directory. To run these code samples you must first edit the (example/api_key.txt) file, -adding your assigned Orchestr8 API key. +adding your assigned AlchemyAPI API key. Compiling Code Samples: @@ -88,7 +88,7 @@ and other tasks. All code samples are within the "example" directory. To run these code samples you must first edit the (example/api_key.txt) file, -adding your assigned Orchestr8 API key. +adding your assigned AlchemyAPI API key. Compiling Code Samples: diff --git a/module/AlchemyAPI.cs b/module/AlchemyAPI.cs index 4b7a25d..a936ec6 100644 --- a/module/AlchemyAPI.cs +++ b/module/AlchemyAPI.cs @@ -888,7 +888,7 @@ private string GET(string callName, string callPrefix, AlchemyAPI_BaseParams par Uri address = new Uri (uri.ToString()); HttpWebRequest wreq = WebRequest.Create(address) as HttpWebRequest; - wreq.Proxy = GlobalProxySelection.GetEmptyWebProxy(); + wreq.Proxy = null; byte[] postData = parameters.GetPostData(); @@ -913,7 +913,7 @@ private string POST(string callName, string callPrefix, AlchemyAPI_BaseParams pa Uri address = new Uri (_requestUri + callPrefix + "/" + callName); HttpWebRequest wreq = WebRequest.Create(address) as HttpWebRequest; - wreq.Proxy = GlobalProxySelection.GetEmptyWebProxy(); + wreq.Proxy = null; wreq.Method = "POST"; wreq.ContentType = "application/x-www-form-urlencoded";