transparency_epias/gas/gasTraClients.py
def quantitiy_matched_additional(self, startDate, endDate):

        '''
        This function returns 3 lists including;
            -Quantity amount as first item.
            -Gas day information as second item.
            -Other quantity amount as third item.

        Parameters:

        startDate: Start date in YYYY-MM-DD format.
        endDate: End date in YYYY-MM-DD format.

        '''

        val.date_check(startDate, endDate)

        query = "stp/matching-quantity/additional-quantity?"+"startDate="+f'{startDate}'+"&endDate="+f'{endDate}'

        json_result = self.get_request_result(query)

        key_list = list(json_result['body'].keys())

        key_name = key_list[0]

        response_list = json_result['body'][f'{key_name}']

        quant_list = []
        day_list = []
        otherQuant_list = []

        for item in response_list:
            quant_list.append(item['additionalQuantity'])
            day_list.append(item['gasDay'])
            otherQuant_list.append(item['otherQuantity'])

        return quant_list, day_list, otherQuant_list

        This function returns 3 lists including;
            -Quantity amount as first item.
            -Gas day information as second item.
            -Other quantity amount as third item.

        Parameters:

        startDate: Start date in YYYY-MM-DD format.
        endDate: End date in YYYY-MM-DD format.

        
This function returns 3 lists including;
Quantity amount as first item.
Gas day information as second item.
Other quantity amount as third item.



Start date in YYYY-MM-DD format.
endDate: End date in YYYY-MM-DD format.
This function returns 3 lists including ; Quantity amount as first item . Gas day information as second item . Other quantity amount as third item . Start date in YYYY - MM - DD format . endDate : End date in YYYY - MM - DD format .
def quantitiy_matched_additional(self, startDate, endDate):
        val.date_check(startDate, endDate)
        query = "stp/matching-quantity/additional-quantity?"+"startDate="+f'{startDate}'+"&endDate="+f'{endDate}'
        json_result = self.get_request_result(query)
        key_list = list(json_result['body'].keys())
        key_name = key_list[0]
        response_list = json_result['body'][f'{key_name}']
        quant_list = []
        day_list = []
        otherQuant_list = []
        for item in response_list:
            quant_list.append(item['additionalQuantity'])
            day_list.append(item['gasDay'])
            otherQuant_list.append(item['otherQuantity'])
        return quant_list, day_list, otherQuant_list
def quantitiy_matched_additional ( self , startDate , endDate ) : val . date_check ( startDate , endDate ) query = "stp/matching-quantity/additional-quantity?" + "startDate=" + f'{startDate}' + "&endDate=" + f'{endDate}' json_result = self . get_request_result ( query ) key_list = list ( json_result [ 'body' ] . keys ( ) ) key_name = key_list [ 0 ] response_list = json_result [ 'body' ] [ f'{key_name}' ] quant_list = [ ] day_list = [ ] otherQuant_list = [ ] for item in response_list : quant_list . append ( item [ 'additionalQuantity' ] ) day_list . append ( item [ 'gasDay' ] ) otherQuant_list . append ( item [ 'otherQuantity' ] ) return quant_list , day_list , otherQuant_list
This function returns 3 lists including;
Quantity amount as first item.
This function returns 3 lists including ; Quantity amount as first item .
'''
        This function returns 3 lists including;
            -Quantity amount as first item.
            -Gas day information as second item.
            -Other quantity amount as third item.

        Parameters:

        startDate: Start date in YYYY-MM-DD format.
        endDate: End date in YYYY-MM-DD format.

        '''
self
startDate
endDate