Commits

Anonymous committed b277d36

adicionei mais arquivos

Comments (0)

Files changed (6)

.eric4project/ScholarScrap.e4q

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE UserProject SYSTEM "UserProject-4.0.dtd">
+<!-- eric4 user project file for project ScholarScrap -->
+<!-- Saved: 2011-02-10, 16:20:38 -->
+<!-- Copyright (C) 2011 Flรกvio Codeรงo Coelho, fccoelho@gmail.com -->
+<UserProject version="4.0">
+</UserProject>

.eric4project/ScholarScrap.e4t

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Tasks SYSTEM "Tasks-4.2.dtd">
+<!-- eric4 tasks file for project ScholarScrap -->
+<!-- Saved: 2011-02-10, 16:20:38 -->
+<Tasks version="4.2">
+</Tasks>

.ropeproject/history

+€]q(]q]qe.

.ropeproject/objectdb

Binary file added.
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE Project SYSTEM "Project-4.6.dtd">
 <!-- eric4 project file for project ScholarScrap -->
-<!-- Saved: 2011-02-10, 07:58:34 -->
+<!-- Saved: 2011-02-10, 16:20:38 -->
 <!-- Copyright (C) 2011 Flรกvio Codeรงo Coelho, fccoelho@gmail.com -->
 <Project version="4.6">
   <Language>en</Language>
     <Source>scholar/scholar/__init__.py</Source>
     <Source>scholar/scholar/settings.py</Source>
     <Source>__init__.py</Source>
+    <Source>scholar/scholar/spiders/scholar_spyder.py</Source>
+    <Source>scholar/scholar/spiders/pubmed.py</Source>
+    <Source>pubmed_soap.py</Source>
   </Sources>
   <Forms>
   </Forms>
+"""
+Soap client to fetch articles from Pubmed
+"""
+
+from suds.client import Client
+eutils_url = 'http://eutils.ncbi.nlm.nih.gov/soap/v2.0/eutils.wsdl'
+url = 'http://eutils.ncbi.nlm.nih.gov/soap/v2.0/efetch_pubmed.wsdl'
+client_eu = Client(eutils_url)
+client = Client(url)
+
+#print client
+
+#print client_eu
+sres = client_eu.service.run_eSearch(db='pubmed', term="Dengue")
+print sres
+#result = client.service.run_eFetch(query_key="Dengue")
+#print result