def metadata(self, entity_id):
        
        results = self._get_url_json('entities/%s.json' % entity_id)

        results['years'] = self._entity_years(results['totals'], self._camp_fin_markers + self._lobbying_markers + self._spending_markers)
        results['camp_fin_years'] = self._entity_years(results['totals'], self._camp_fin_markers)
        results['lobbying_years'] = self._entity_years(results['totals'], self._lobbying_markers)
        results['spending_years'] = self._entity_years(results['totals'], self._spending_markers)
        results['earmark_years'] = self._entity_years(results['totals'], self._earmark_markers)
        results['contractor_misconduct_years'] = self._entity_years(results['totals'], self._contractor_misconduct_markers)
        results['epa_echo_years'] = self._entity_years(results['totals'], self._epa_echo_markers)
        results['regulations_years'] = self._entity_years(results['totals'], self._regulations_markers)
        results['faca_years'] = self._entity_years(results['totals'], self._faca_markers)

        return results
Return all available metadata for the given entity.
dataset/ETHPy150Open sunlightlabs/python-transparencydata/influenceexplorer.py/Entities.metadata