'Parses Individual API and extracts Title , Link ,
Content and Example Code'

def parse_data(self, file_data):

    if self.data:
        all_api_reference = self.data.findAll(['h4', 'h3'])
        for api in all_api_reference:
            title = api.text.replace('    #', '')
            href = self.parse_link(file_data, api)
            content = self.parse_content(api)
            example = self.parse_example(api)
            section = {'title': title, 'href': href, 'content': content, 'example': example}
            self.parsed_data.append(section)
