# Apibible.PassagesApi

All URIs are relative to *https://api.scripture.api.bible*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getPassage**](PassagesApi.md#getPassage) | **GET** /v1/bibles/{bibleId}/passages/{passageId} | 


<a name="getPassage"></a>
# **getPassage**
> InlineResponse2006 getPassage(apiKey, bibleId, passageId, opts)



Gets a &#x60;Passage&#x60; object for a given &#x60;bibleId&#x60; and &#x60;passageId&#x60;. This Passage object also includes an &#x60;content&#x60; property with all verses corresponding to the passageId. The &#x60;passageId&#x60; parameter can represent a chapter, verse, or range of verses. 

### Example
```javascript
var Apibible = require('apibible');

var apiInstance = new Apibible.PassagesApi();

var apiKey = "apiKey_example"; // String | API Key Authentication Parameter

var bibleId = "bibleId_example"; // String | Id of Bible for passage

var passageId = "passageId_example"; // String | String reference id for the requested passage.

var opts = { 
  'contentType': "html", // String | Content type to be returned in the content property.  Supported values are `html` (default), `json` (beta), and `text` (beta)
  'includeNotes': false, // Boolean | Include footnotes in content
  'includeTitles': true, // Boolean | Include section titles in content
  'includeChapterNumbers': false, // Boolean | Include chapter numbers in content
  'includeVerseNumbers': true, // Boolean | Include verse numbers in content
  'parallels': "parallels_example" // String | Comma delimited list of bibleIds to include
};
apiInstance.getPassage(apiKey, bibleId, passageId, opts).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **apiKey** | **String**| API Key Authentication Parameter | 
 **bibleId** | **String**| Id of Bible for passage | 
 **passageId** | **String**| String reference id for the requested passage. | 
 **contentType** | **String**| Content type to be returned in the content property.  Supported values are &#x60;html&#x60; (default), &#x60;json&#x60; (beta), and &#x60;text&#x60; (beta) | [optional] [default to html]
 **includeNotes** | **Boolean**| Include footnotes in content | [optional] [default to false]
 **includeTitles** | **Boolean**| Include section titles in content | [optional] [default to true]
 **includeChapterNumbers** | **Boolean**| Include chapter numbers in content | [optional] [default to false]
 **includeVerseNumbers** | **Boolean**| Include verse numbers in content | [optional] [default to true]
 **parallels** | **String**| Comma delimited list of bibleIds to include | [optional] 

### Return type

[**InlineResponse2006**](InlineResponse2006.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

