Default Search

Example:
http://api.plos.org/search?q="spindle microtubules"&api_key={your_api_key}
Enter a term to search:
var searchWidget = new PLoS.searchWidget({
	input : 'tbPLoSSearch',
	button : 'btnPLoS',
	resultsDiv : 'resultsContainer'
});
		

Author Search

Example:
http://api.plos.org/search?q=author:"Eisen"&api_key={your_api_key}
Enter an author name to search:
var authorSearchWidget = new PLoS.searchWidget({
	input : 'author-search-input',
	button : 'author-search-button',
	resultsDiv : 'author-resultsContainer',
	field : 'author'
});
		

Title Search

Example:
http://api.plos.org/search?q=title:"Ten Simple Rules"&api_key={your_api_key}
Enter an article title to search:
var titleSearchWidget = new PLoS.searchWidget({
	input : 'title-search-input',
	button : 'title-search-button',
	resultsDiv : 'title-resultsContainer',
	field : 'title',
	limit : 10
});
		

Subject Search

Example:
http://api.plos.org/search?q=subject:"biotechnology"&api_key={your_api_key}
Enter a subject area to search:
var subjectSearchWidget = new PLoS.searchWidget({
	input : 'subject-search-input',
	button : 'subject-search-button',
	resultsDiv : 'subject-resultsContainer',
	field : 'subject'
});
		

Abstract Search

Example:
http://api.plos.org/search?q=abstract:"influenza"&api_key={your_api_key}
Enter a term to search in the article abstract:
var abstractSearchWidget = new PLoS.searchWidget({
	input : 'abstract-search-input',
	button : 'abstract-search-button',
	resultsDiv : 'abstract-resultsContainer',
	field : 'abstract'
});