# Apibible.ChaptersApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**getChapter**](ChaptersApi.md#getChapter) | **GET** /v1/bibles/{bibleId}/chapters/{chapterId} | 
[**getChapters**](ChaptersApi.md#getChapters) | **GET** /v1/bibles/{bibleId}/books/{bookId}/chapters | 


<a name="getChapter"></a>
# **getChapter**
> InlineResponse2005 getChapter(apiKey, bibleId, chapterId, opts)



Gets a single &#x60;Chapter&#x60; object for a given &#x60;bibleId&#x60; and &#x60;chapterId&#x60;. This Chapter object also includes an &#x60;content&#x60; property with all verses for the Chapter. 

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

var apiInstance = new Apibible.ChaptersApi();

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

var bibleId = "bibleId_example"; // String | Id of Bible whose Chapter to fetch

var chapterId = "chapterId_example"; // String | Id of the Chapter to fetch

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.getChapter(apiKey, bibleId, chapterId, 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 whose Chapter to fetch | 
 **chapterId** | **String**| Id of the Chapter to fetch | 
 **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

[**InlineResponse2005**](InlineResponse2005.md)

### Authorization

No authorization required

### HTTP request headers

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

<a name="getChapters"></a>
# **getChapters**
> InlineResponse2004 getChapters(apiKey, bibleId, bookId)



Gets an array of &#x60;Chapter&#x60; objects for a given &#x60;bibleId&#x60; and &#x60;bookId&#x60; 

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

var apiInstance = new Apibible.ChaptersApi();

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

var bibleId = "bibleId_example"; // String | Id of Bible whose Chapters to fetch

var bookId = "bookId_example"; // String | Id of the Book whose Chapters to fetch

apiInstance.getChapters(apiKey, bibleId, bookId).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 whose Chapters to fetch | 
 **bookId** | **String**| Id of the Book whose Chapters to fetch | 

### Return type

[**InlineResponse2004**](InlineResponse2004.md)

### Authorization

No authorization required

### HTTP request headers

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

